rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
sequencelengths
256
256
attention_mask
sequencelengths
256
256
labels
sequencelengths
128
128
iscDelay = new IntegerSpinControl( cmpTooltip, SWT.NONE, 200 );
iscDelay = new Spinner( cmpTooltip, SWT.BORDER );
private void placeComponents( ) { // Layout for the content composite GridLayout glCMPTrigger = new GridLayout( ); glCMPTrigger.numColumns = 2; glCMPTrigger.horizontalSpacing = 16; glCMPTrigger.verticalSpacing = 5; glCMPTrigger.marginHeight = 0; glCMPTrigger.marginWidth = 0; // Layout for the Action Details group slValues = new StackLayout( ); // Layout for url value composite GridLayout glURL = new GridLayout( ); glURL.marginWidth = 2; glURL.marginHeight = 6; glURL.horizontalSpacing = 6; glURL.numColumns = 3; // Layout for script value composite GridLayout glParameter = new GridLayout( ); glParameter.marginWidth = 2; glParameter.marginHeight = 6; glParameter.horizontalSpacing = 6; glParameter.numColumns = 3; // Main content composite this.setLayout( glCMPTrigger ); Label lblTriggerType = new Label( this, SWT.NONE ); GridData gdLBLTriggerType = new GridData( ); gdLBLTriggerType.horizontalIndent = 4; lblTriggerType.setLayoutData( gdLBLTriggerType ); lblTriggerType.setText( Messages.getString( "TriggerDataComposite.Lbl.Type" ) ); //$NON-NLS-1$ cmbTriggerType = new Combo( this, SWT.DROP_DOWN | SWT.READ_ONLY ); GridData gdCMBTriggerType = new GridData( GridData.FILL_HORIZONTAL ); cmbTriggerType.setLayoutData( gdCMBTriggerType ); cmbTriggerType.addSelectionListener( this ); Label lblActionType = new Label( this, SWT.NONE ); GridData gdLBLActionType = new GridData( ); gdLBLActionType.horizontalIndent = 4; lblActionType.setLayoutData( gdLBLActionType ); lblActionType.setText( Messages.getString( "TriggerDataComposite.Lbl.Action" ) ); //$NON-NLS-1$ cmbActionType = new Combo( this, SWT.DROP_DOWN | SWT.READ_ONLY ); GridData gdCMBActionType = new GridData( GridData.FILL_HORIZONTAL ); cmbActionType.setLayoutData( gdCMBActionType ); cmbActionType.addSelectionListener( this ); grpValue = new Group( this, SWT.NONE ); GridData gdGRPValue = new GridData( GridData.FILL_BOTH ); gdGRPValue.horizontalSpan = 2; grpValue.setLayoutData( gdGRPValue ); grpValue.setText( Messages.getString( "TriggerDataComposite.Lbl.ActionDetails" ) ); //$NON-NLS-1$ grpValue.setLayout( slValues ); // Composite for default value cmpDefault = new Composite( grpValue, SWT.NONE ); // Composite for callback value cmpCallback = new Composite( grpValue, SWT.NONE ); cmpCallback.setLayout( new GridLayout( ) ); addDescriptionLabel( cmpCallback, 1, Messages.getString( "TriggerDataComposite.Label.CallbackDescription" ) ); //$NON-NLS-1$ // Composite for highlight value cmpHighlight = new Composite( grpValue, SWT.NONE ); cmpHighlight.setLayout( new GridLayout( ) ); addDescriptionLabel( cmpHighlight, 1, Messages.getString( "TriggerDataComposite.Label.HighlightDescription" ) ); //$NON-NLS-1$ // Composite for Toogle Visibility value cmpVisiblity = new Composite( grpValue, SWT.NONE ); cmpVisiblity.setLayout( new GridLayout( ) ); addDescriptionLabel( cmpVisiblity, 1, Messages.getString( "TriggerDataComposite.Label.VisiblityDescription" ) ); //$NON-NLS-1$ // Composite for Toogle DataPoint Visibility value cmpDPVisibility = new Composite( grpValue, SWT.NONE ); cmpDPVisibility.setLayout( new GridLayout( ) ); addDescriptionLabel( cmpDPVisibility, 1, Messages.getString( "TriggerDataComposite.Label.DPVisibilityDescription" ) ); //$NON-NLS-1$ // Composite for script value cmpScript = new Composite( grpValue, SWT.NONE ); cmpScript.setLayout( new GridLayout( 2, false ) ); Label lblScript = new Label( cmpScript, SWT.NONE ); GridData gdLBLScript = new GridData( GridData.VERTICAL_ALIGN_BEGINNING ); lblScript.setLayoutData( gdLBLScript ); lblScript.setText( Messages.getString( "TriggerDataComposite.Lbl.Script" ) ); //$NON-NLS-1$ txtScript = new Text( cmpScript, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL ); txtScript.setLayoutData( new GridData( GridData.FILL_BOTH ) ); txtScript.setToolTipText( Messages.getString( "TriggerDataComposite.Tooltip.InputScript" ) ); //$NON-NLS-1$ // Label lblSeries = new Label( cmpSeries, SWT.NONE ); // GridData gdLBLSeries = new GridData( ); // gdLBLSeries.horizontalIndent = 2; // lblSeries.setLayoutData( gdLBLSeries ); // lblSeries.setText( Messages.getString( // "TriggerDataComposite.Lbl.SeriesDefinition" ) ); //$NON-NLS-1$ // // txtSeriesDefinition = new Text( cmpSeries, SWT.BORDER ); // GridData gdTXTSeriesDefinition = new GridData( // GridData.FILL_HORIZONTAL ); // gdTXTSeriesDefinition.horizontalSpan = 2; // txtSeriesDefinition.setLayoutData( gdTXTSeriesDefinition ); // Composite for tooltip value cmpTooltip = new Composite( grpValue, SWT.NONE ); cmpTooltip.setLayout( new GridLayout( 3, false ) ); Label lblDelay = new Label( cmpTooltip, SWT.NONE ); GridData gdLBLDelay = new GridData( ); lblDelay.setLayoutData( gdLBLDelay ); lblDelay.setText( Messages.getString( "TriggerDataComposite.Lbl.TooltipDelay" ) ); //$NON-NLS-1$ iscDelay = new IntegerSpinControl( cmpTooltip, SWT.NONE, 200 ); GridData gdISCDelay = new GridData( GridData.FILL_HORIZONTAL ); gdISCDelay.horizontalSpan = 2; iscDelay.setLayoutData( gdISCDelay ); iscDelay.setMinimum( 100 ); iscDelay.setMaximum( 5000 ); iscDelay.setIncrement( 100 ); Label lblText = new Label( cmpTooltip, SWT.NONE ); lblText.setText( Messages.getString( "TriggerDataComposite.Lbl.TooltipText" ) ); //$NON-NLS-1$ if ( bEnableShowTooltipValue ) { GridData lblGd = new GridData( ); lblGd.horizontalSpan = 3; lblText.setLayoutData( lblGd ); txtTooltipText = new Text( cmpTooltip, SWT.BORDER | SWT.MULTI | SWT.V_SCROLL ); GridData gdTXTTooltipText = new GridData( GridData.FILL_BOTH ); gdTXTTooltipText.horizontalSpan = 3; txtTooltipText.setLayoutData( gdTXTTooltipText ); } else { txtTooltipText = new Text( cmpTooltip, SWT.BORDER | SWT.SINGLE ); txtTooltipText.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); btnBuilder = new Button( cmpTooltip, SWT.PUSH ); GridData gdBTNBuilder = new GridData( ); gdBTNBuilder.heightHint = 20; gdBTNBuilder.widthHint = 20; btnBuilder.setLayoutData( gdBTNBuilder ); btnBuilder.setImage( UIHelper.getImage( "icons/obj16/expressionbuilder.gif" ) ); //$NON-NLS-1$ btnBuilder.addSelectionListener( this ); btnBuilder.setToolTipText( Messages.getString( "DataDefinitionComposite.Tooltip.InvokeExpressionBuilder" ) ); //$NON-NLS-1$ btnBuilder.getImage( ).setBackground( btnBuilder.getBackground( ) ); addDescriptionLabel( cmpTooltip, 3, Messages.getString( "TriggerDataComposite.Label.TooltipUsingDataLabelOfSeries" ) ); //$NON-NLS-1$ } cmpURL = new Composite( grpValue, SWT.NONE ); cmpURL.setLayout( glURL ); Label lblBaseURL = new Label( cmpURL, SWT.NONE ); GridData gdLBLBaseURL = new GridData( ); gdLBLBaseURL.horizontalIndent = 2; lblBaseURL.setLayoutData( gdLBLBaseURL ); lblBaseURL.setText( Messages.getString( "TriggerDataComposite.Lbl.BaseURL" ) ); //$NON-NLS-1$ // txtBaseURL = new Text( cmpURL, SWT.BORDER ); // GridData gdTXTBaseURL = new GridData( GridData.FILL_HORIZONTAL ); // txtBaseURL.setLayoutData( gdTXTBaseURL ); // txtBaseURL.setEditable( false ); btnBaseURL = new Button( cmpURL, SWT.NONE ); { GridData gd = new GridData( ); gd.horizontalSpan = 2; btnBaseURL.setLayoutData( gd ); btnBaseURL.setText( Messages.getString( "TriggerDataComposite.Text.EditBaseURL" ) ); //$NON-NLS-1$ btnBaseURL.setToolTipText( Messages.getString( "TriggerDataComposite.Tooltip.InvokeURLBuilder" ) ); //$NON-NLS-1$ btnBaseURL.addSelectionListener( this ); } Label lblDefine = new Label( cmpURL, SWT.WRAP ); { GridData gd = new GridData( ); gd.horizontalIndent = 2; gd.horizontalSpan = 3; gd.widthHint = 200; lblDefine.setLayoutData( gd ); lblDefine.setText( Messages.getString( "TriggerDataComposite.Label.DefineTheParametersNames" ) ); //$NON-NLS-1$ lblDefine.setEnabled( bEnableURLParameters ); } // Label lblTarget = new Label( cmpURL, SWT.NONE ); // GridData gdLBLTarget = new GridData( ); // gdLBLTarget.horizontalIndent = 2; // lblTarget.setLayoutData( gdLBLTarget ); // lblTarget.setText( Messages.getString( // "TriggerDataComposite.Lbl.Target" ) ); //$NON-NLS-1$ // // txtTarget = new Text( cmpURL, SWT.BORDER ); // GridData gdTXTTarget = new GridData( GridData.FILL_HORIZONTAL ); // gdTXTTarget.horizontalSpan = 2; // txtTarget.setLayoutData( gdTXTTarget ); grpParameters = new Group( cmpURL, SWT.NONE ); GridData gdGRPParameters = new GridData( GridData.FILL_HORIZONTAL ); gdGRPParameters.horizontalSpan = 3; grpParameters.setLayoutData( gdGRPParameters ); grpParameters.setLayout( glParameter ); grpParameters.setText( Messages.getString( "TriggerDataComposite.Lbl.ParameterNames" ) ); //$NON-NLS-1$ grpParameters.setEnabled( bEnableURLParameters ); Label lblParameters = new Label( grpParameters, SWT.WRAP ); { GridData gd = new GridData( ); gd.horizontalIndent = 2; gd.horizontalSpan = 3; gd.widthHint = 200; lblParameters.setLayoutData( gd ); lblParameters.setText( Messages.getString( "TriggerDataComposite.Label.GiveANameForParameters" ) ); //$NON-NLS-1$ lblParameters.setEnabled( bEnableURLParameters ); } Label lblBaseParm = new Label( grpParameters, SWT.NONE ); { GridData gdLBLBaseParm = new GridData( ); gdLBLBaseParm.horizontalIndent = 2; lblBaseParm.setLayoutData( gdLBLBaseParm ); lblBaseParm.setText( Messages.getString( "TriggerDataComposite.Lbl.CategorySeries" ) ); //$NON-NLS-1$ lblBaseParm.setToolTipText( Messages.getString( "TriggerDataComposite.Tooltip.ParameterCategory" ) ); //$NON-NLS-1$ lblBaseParm.setEnabled( bEnableURLParameters ); } txtBaseParm = new Text( grpParameters, SWT.BORDER ); GridData gdTXTBaseParm = new GridData( GridData.FILL_HORIZONTAL ); gdTXTBaseParm.horizontalSpan = 2; txtBaseParm.setLayoutData( gdTXTBaseParm ); txtBaseParm.setToolTipText( Messages.getString( "TriggerDataComposite.Tooltip.ParameterCategory" ) ); //$NON-NLS-1$ txtBaseParm.setEnabled( bEnableURLParameters ); Label lblValueParm = new Label( grpParameters, SWT.NONE ); { GridData gdLBLValueParm = new GridData( ); gdLBLValueParm.horizontalIndent = 2; lblValueParm.setLayoutData( gdLBLValueParm ); lblValueParm.setText( Messages.getString( "TriggerDataComposite.Lbl.ValueSeries" ) ); //$NON-NLS-1$ lblValueParm.setToolTipText( Messages.getString( "TriggerDataComposite.Tooltip.ParameterValue" ) ); //$NON-NLS-1$ lblValueParm.setEnabled( bEnableURLParameters ); } txtValueParm = new Text( grpParameters, SWT.BORDER ); GridData gdTXTValueParm = new GridData( GridData.FILL_HORIZONTAL ); gdTXTValueParm.horizontalSpan = 2; txtValueParm.setLayoutData( gdTXTValueParm ); txtValueParm.setToolTipText( Messages.getString( "TriggerDataComposite.Tooltip.ParameterValue" ) ); //$NON-NLS-1$ txtValueParm.setEnabled( bEnableURLParameters ); Label lblSeriesParm = new Label( grpParameters, SWT.NONE ); { GridData gdLBLSeriesParm = new GridData( ); gdLBLSeriesParm.horizontalIndent = 2; lblSeriesParm.setLayoutData( gdLBLSeriesParm ); lblSeriesParm.setText( Messages.getString( "TriggerDataComposite.Lbl.ValueSeriesName" ) ); //$NON-NLS-1$ lblSeriesParm.setToolTipText( Messages.getString( "TriggerDataComposite.Tooltip.ParameterSeries" ) ); //$NON-NLS-1$ lblSeriesParm.setEnabled( bEnableURLParameters ); } txtSeriesParm = new Text( grpParameters, SWT.BORDER ); GridData gdTXTSeriesParm = new GridData( GridData.FILL_HORIZONTAL ); gdTXTSeriesParm.horizontalSpan = 2; txtSeriesParm.setLayoutData( gdTXTSeriesParm ); txtSeriesParm.setToolTipText( Messages.getString( "TriggerDataComposite.Tooltip.ParameterSeries" ) ); //$NON-NLS-1$ txtSeriesParm.setEnabled( bEnableURLParameters ); populateLists( ); slValues.topControl = cmpURL; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/fa209343a192b1953af351eaf950f990f20f87bf/TriggerDataComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/TriggerDataComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3166, 7171, 12, 262, 202, 95, 202, 202, 759, 9995, 364, 326, 913, 9635, 202, 202, 6313, 3744, 5118, 39, 4566, 6518, 273, 394, 7145, 3744, 12, 11272, 202, 202, 7043, 39, 4566, 6518, 18, 2107, 3380, 273, 576, 31, 202, 202, 7043, 39, 4566, 6518, 18, 18396, 18006, 273, 2872, 31, 202, 202, 7043, 39, 4566, 6518, 18, 17824, 18006, 273, 1381, 31, 202, 202, 7043, 39, 4566, 6518, 18, 10107, 2686, 273, 374, 31, 202, 202, 7043, 39, 4566, 6518, 18, 10107, 2384, 273, 374, 31, 202, 202, 759, 9995, 364, 326, 4382, 21897, 1041, 202, 202, 2069, 1972, 273, 394, 7283, 3744, 12, 11272, 202, 202, 759, 9995, 364, 880, 460, 9635, 202, 202, 6313, 3744, 5118, 1785, 273, 394, 7145, 3744, 12, 11272, 202, 202, 7043, 1785, 18, 10107, 2384, 273, 576, 31, 202, 202, 7043, 1785, 18, 10107, 2686, 273, 1666, 31, 202, 202, 7043, 1785, 18, 18396, 18006, 273, 1666, 31, 202, 202, 7043, 1785, 18, 2107, 3380, 273, 890, 31, 202, 202, 759, 9995, 364, 2728, 460, 9635, 202, 202, 6313, 3744, 5118, 1662, 273, 394, 7145, 3744, 12, 11272, 202, 202, 7043, 1662, 18, 10107, 2384, 273, 576, 31, 202, 202, 7043, 1662, 18, 10107, 2686, 273, 1666, 31, 202, 202, 7043, 1662, 18, 18396, 18006, 273, 1666, 31, 202, 202, 7043, 1662, 18, 2107, 3380, 273, 890, 31, 202, 202, 759, 12740, 913, 9635, 202, 202, 2211, 18, 542, 3744, 12, 5118, 39, 4566, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3166, 7171, 12, 262, 202, 95, 202, 202, 759, 9995, 364, 326, 913, 9635, 202, 202, 6313, 3744, 5118, 39, 4566, 6518, 273, 394, 7145, 3744, 12, 11272, 202, 202, 7043, 39, 4566, 6518, 18, 2107, 3380, 273, 576, 31, 202, 202, 7043, 39, 4566, 6518, 18, 18396, 18006, 273, 2872, 31, 202, 202, 7043, 39, 4566, 6518, 18, 17824, 18006, 273, 1381, 31, 202, 202, 7043, 39, 4566, 6518, 18, 10107, 2686, 273, 374, 31, 202, 202, 7043, 39, 4566, 6518, 18, 10107, 2384, 273, 374, 31, 202, 202, 759, 9995, 364, 326, 4382, 21897, 1041, 202, 202, 2069, 1972, 273, 394, 7283, 3744, 12, 11272, 202, 202, 759, 9995, 364, 880, 460, 9635, 2 ]
if (method == "Volume")
if (method.equalsIgnoreCase("Volume"))
private void calcAlcohol(String method) { double oPlato = sGToPlato(estOg); double fPlato = sGToPlato(estFg); double q = 0.22 + 0.001 * oPlato; double re = (q * oPlato + fPlato) / (1.0 + q); // calculate by weight: alcohol = (oPlato - re) / (2.0665 - 0.010665 * oPlato); if (method == "Volume") // convert to by volume alcohol = alcohol * estFg / 0.794; }
51683 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51683/554d8a961cca1663be44f6436358bf9c56c6b482/Recipe.java/clean/src/ca/strangebrew/Recipe.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 7029, 1067, 2894, 76, 355, 12, 780, 707, 13, 288, 202, 202, 9056, 320, 1749, 31093, 273, 272, 43, 774, 1749, 31093, 12, 395, 51, 75, 1769, 202, 202, 9056, 284, 1749, 31093, 273, 272, 43, 774, 1749, 31093, 12, 395, 42, 75, 1769, 202, 202, 9056, 1043, 273, 374, 18, 3787, 397, 374, 18, 11664, 380, 320, 1749, 31093, 31, 202, 202, 9056, 283, 273, 261, 85, 380, 320, 1749, 31093, 397, 284, 1749, 31093, 13, 342, 261, 21, 18, 20, 397, 1043, 1769, 202, 202, 759, 4604, 635, 3119, 30, 202, 202, 287, 2894, 76, 355, 273, 261, 83, 1749, 31093, 300, 283, 13, 342, 261, 22, 18, 20, 6028, 25, 300, 374, 18, 23254, 6028, 25, 380, 320, 1749, 31093, 1769, 202, 202, 430, 261, 2039, 18, 14963, 5556, 2932, 4545, 6, 3719, 368, 1765, 358, 635, 3940, 1082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 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, 7029, 1067, 2894, 76, 355, 12, 780, 707, 13, 288, 202, 202, 9056, 320, 1749, 31093, 273, 272, 43, 774, 1749, 31093, 12, 395, 51, 75, 1769, 202, 202, 9056, 284, 1749, 31093, 273, 272, 43, 774, 1749, 31093, 12, 395, 42, 75, 1769, 202, 202, 9056, 1043, 273, 374, 18, 3787, 397, 374, 18, 11664, 380, 320, 1749, 31093, 31, 202, 202, 9056, 283, 273, 261, 85, 380, 320, 1749, 31093, 397, 284, 1749, 31093, 13, 342, 261, 21, 18, 20, 397, 1043, 1769, 202, 202, 759, 4604, 635, 3119, 30, 202, 202, 287, 2894, 76, 355, 273, 261, 83, 1749, 31093, 300, 283, 13, 342, 261, 22, 18, 20, 6028, 25, 300, 374, 2 ]
chkStore.read(header); chkStore.read(data);
chkStore.readFully(header); chkStore.readFully(data);
public CHKBlock fetch(NodeCHK chk, boolean dontPromote) throws IOException { if(closed) return null; byte[] routingkey = chk.getRoutingKey(); DatabaseEntry routingkeyDBE = new DatabaseEntry(routingkey); DatabaseEntry blockDBE = new DatabaseEntry(); Cursor c = null; Transaction t = null; try{ t = environment.beginTransaction(null,null); c = chkDB.openCursor(t,null); /** * We will have to write, unless both dontPromote and the key is valid. * The lock only applies to this record, so it's not a big problem for our use. * What *IS* a big problem is that if we take a LockMode.DEFAULT, and two threads * access the same key, they will both take the read lock, and then both try to * take the write lock. Neither can relinquish the read in order for the other to * take the write, so we're screwed. */ if(c.getSearchKey(routingkeyDBE,blockDBE,LockMode.RMW) !=OperationStatus.SUCCESS) { c.close(); t.abort(); return null; } StoreBlock storeBlock = (StoreBlock) storeBlockTupleBinding.entryToObject(blockDBE); CHKBlock block = null; try{ byte[] header = new byte[headerBlockSize]; byte[] data = new byte[dataBlockSize]; synchronized(chkStore) { chkStore.seek(storeBlock.offset*(long)(dataBlockSize+headerBlockSize)); chkStore.read(header); chkStore.read(data); } block = new CHKBlock(data,header,chk); if(!dontPromote) { storeBlock.updateRecentlyUsed(); DatabaseEntry updateDBE = new DatabaseEntry(); storeBlockTupleBinding.objectToEntry(storeBlock, updateDBE); c.putCurrent(updateDBE); c.close(); t.commit(); }else{ c.close(); t.abort(); } Logger.minor(this, "Get key: "+chk); Logger.minor(this, "Headers: "+header.length+" bytes, hash "+header); Logger.minor(this, "Data: "+data.length+" bytes, hash "+data); }catch(CHKVerifyException ex){ Logger.normal(this, "Does not verify ("+ex+"), setting accessTime to 0 for : "+chk); storeBlock.setRecentlyUsedToZero(); DatabaseEntry updateDBE = new DatabaseEntry(); storeBlockTupleBinding.objectToEntry(storeBlock, updateDBE); c.putCurrent(updateDBE); c.close(); t.commit(); return null; } return block; }catch(Throwable ex) { // FIXME: ugly if(c!=null) { try{c.close();}catch(DatabaseException ex2){} } if(t!=null) try{t.abort();}catch(DatabaseException ex2){} Logger.error(this, "Caught "+ex, ex); ex.printStackTrace(); throw new IOException(ex.getMessage()); } // return null; }
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/ced3795ecc2b20f014f9a19e382925422ae80af4/BerkeleyDBFreenetStore.java/clean/src/freenet/store/BerkeleyDBFreenetStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6469, 47, 1768, 2158, 12, 907, 1792, 47, 15000, 16, 1250, 14046, 13224, 1168, 13, 1216, 1860, 565, 288, 377, 202, 430, 12, 12204, 13, 377, 202, 202, 2463, 446, 31, 377, 202, 377, 202, 7229, 8526, 7502, 856, 273, 15000, 18, 588, 13966, 653, 5621, 377, 202, 4254, 1622, 7502, 856, 2290, 41, 273, 394, 5130, 1622, 12, 16529, 856, 1769, 377, 202, 4254, 1622, 1203, 2290, 41, 273, 394, 5130, 1622, 5621, 377, 202, 6688, 276, 273, 446, 31, 377, 202, 3342, 268, 273, 446, 31, 377, 202, 698, 95, 377, 202, 202, 88, 273, 3330, 18, 10086, 3342, 12, 2011, 16, 2011, 1769, 377, 202, 202, 71, 273, 15000, 2290, 18, 3190, 6688, 12, 88, 16, 2011, 1769, 377, 202, 202, 26873, 377, 1082, 380, 1660, 903, 1240, 358, 1045, 16, 3308, 3937, 14046, 13224, 1168, 471, 326, 498, 353, 923, 18, 377, 1082, 380, 1021, 2176, 1338, 10294, 358, 333, 1409, 16, 1427, 518, 1807, 486, 279, 5446, 6199, 364, 3134, 999, 18, 377, 1082, 380, 18734, 380, 5127, 14, 279, 5446, 6199, 353, 716, 309, 732, 4862, 279, 3488, 2309, 18, 5280, 16, 471, 2795, 7403, 377, 1082, 380, 2006, 326, 1967, 498, 16, 2898, 903, 3937, 4862, 326, 855, 2176, 16, 471, 1508, 3937, 775, 358, 377, 1082, 380, 4862, 326, 1045, 2176, 18, 7455, 2927, 848, 1279, 267, 372, 1468, 326, 855, 316, 1353, 364, 326, 1308, 358, 377, 1082, 380, 4862, 326, 1045, 16, 1427, 732, 4565, 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, 6469, 47, 1768, 2158, 12, 907, 1792, 47, 15000, 16, 1250, 14046, 13224, 1168, 13, 1216, 1860, 565, 288, 377, 202, 430, 12, 12204, 13, 377, 202, 202, 2463, 446, 31, 377, 202, 377, 202, 7229, 8526, 7502, 856, 273, 15000, 18, 588, 13966, 653, 5621, 377, 202, 4254, 1622, 7502, 856, 2290, 41, 273, 394, 5130, 1622, 12, 16529, 856, 1769, 377, 202, 4254, 1622, 1203, 2290, 41, 273, 394, 5130, 1622, 5621, 377, 202, 6688, 276, 273, 446, 31, 377, 202, 3342, 268, 273, 446, 31, 377, 202, 698, 95, 377, 202, 202, 88, 273, 3330, 18, 10086, 3342, 12, 2011, 16, 2011, 1769, 377, 202, 202, 71, 273, 15000, 2290, 18, 3190, 6688, 12, 2 ]
monitorDialog.open(); IProgressMonitor monitor = monitorDialog.getProgressMonitor(); monitor.beginTask("Updating search options...", 55);
private void updateAttributesFromRepository(String repositoryUrl, String[] selectedProducts, boolean connect) { monitorDialog.open(); IProgressMonitor monitor = monitorDialog.getProgressMonitor(); monitor.beginTask("Updating search options...", 55); try { // TaskRepository repository = // MylarTaskListPlugin.getRepositoryManager().getDefaultRepository( // BugzillaPlugin.REPOSITORY_KIND); // String repositoryUrl = repository.getUrl(); if (connect) { BugzillaUiPlugin.updateQueryOptions(repository, monitor); } if (selectedProducts == null) { String[] productsList = BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_PRODUCT, null, repositoryUrl); Arrays.sort(productsList, String.CASE_INSENSITIVE_ORDER); product.setItems(productsList); monitor.worked(1); } String[] componentsList = BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_COMPONENT, selectedProducts, repositoryUrl); Arrays.sort(componentsList, String.CASE_INSENSITIVE_ORDER); component.setItems(componentsList); monitor.worked(1); version.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_VERSION, selectedProducts, repositoryUrl)); monitor.worked(1); target.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_TARGET, selectedProducts, repositoryUrl)); monitor.worked(1); if (selectedProducts == null) { status.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_STATUS, selectedProducts, repositoryUrl)); monitor.worked(1); // status.setSelection(BugzillaRepositoryUtil.getQueryOptions(IBugzillaConstants.VALUSE_STATUS_PRESELECTED, // repositoryUrl)); monitor.worked(1); resolution.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_RESOLUTION, selectedProducts, repositoryUrl)); monitor.worked(1); severity.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_SEVERITY, selectedProducts, repositoryUrl)); monitor.worked(1); priority.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_PRIORITY, selectedProducts, repositoryUrl)); monitor.worked(1); hardware.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_HARDWARE, selectedProducts, repositoryUrl)); monitor.worked(1); os.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_OS, selectedProducts, repositoryUrl)); monitor.worked(1); } } catch (LoginException exception) { // we had a problem that seems to have been caused from bad // login info MessageDialog .openError( null, "Login Error", "Bugzilla could not log you in to get the information you requested since login name or password is incorrect.\nPlease check your settings in the bugzilla preferences. "); // BugzillaPlugin.log(exception); } catch (IOException e) { MessageDialog.openError(null, "Connection Error", e.getMessage() + "\nPlease check your settings in the bugzilla preferences. "); } finally { monitor.done(); monitorDialog.close(); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/ec35c22063aec1ceca0857996dbf40955c42fe10/BugzillaSearchPage.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 2498, 1265, 3305, 12, 780, 3352, 1489, 16, 514, 8526, 3170, 13344, 16, 1250, 3077, 13, 288, 202, 202, 10259, 6353, 18, 3190, 5621, 202, 202, 45, 5491, 7187, 6438, 273, 6438, 6353, 18, 588, 5491, 7187, 5621, 202, 202, 10259, 18, 10086, 2174, 2932, 17858, 1623, 702, 7070, 16, 21483, 1769, 202, 202, 698, 288, 1082, 202, 759, 3837, 3305, 3352, 273, 1082, 202, 759, 8005, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 588, 1868, 3305, 12, 1082, 202, 759, 16907, 15990, 3773, 18, 862, 30986, 67, 47, 2356, 1769, 1082, 202, 759, 514, 3352, 1489, 273, 3352, 18, 588, 1489, 5621, 1082, 202, 430, 261, 3612, 13, 288, 9506, 202, 19865, 15990, 13943, 3773, 18, 2725, 1138, 1320, 12, 9071, 16, 6438, 1769, 1082, 202, 97, 1082, 202, 430, 261, 8109, 13344, 422, 446, 13, 288, 9506, 202, 780, 8526, 10406, 682, 273, 16907, 15990, 13943, 3773, 18, 588, 1138, 1320, 12, 13450, 637, 15990, 2918, 18, 16386, 67, 25883, 16, 446, 16, 25083, 202, 9071, 1489, 1769, 9506, 202, 12726, 18, 3804, 12, 18736, 682, 16, 514, 18, 13415, 67, 706, 26753, 16325, 67, 7954, 1769, 9506, 202, 5896, 18, 542, 3126, 12, 18736, 682, 1769, 9506, 202, 10259, 18, 1252, 329, 12, 21, 1769, 1082, 202, 97, 1082, 202, 780, 8526, 4085, 682, 273, 16907, 15990, 13943, 3773, 18, 588, 1138, 1320, 12, 13450, 637, 15990, 2918, 18, 16386, 67, 22922, 16, 6862, 202, 8109, 13344, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 2498, 1265, 3305, 12, 780, 3352, 1489, 16, 514, 8526, 3170, 13344, 16, 1250, 3077, 13, 288, 202, 202, 10259, 6353, 18, 3190, 5621, 202, 202, 45, 5491, 7187, 6438, 273, 6438, 6353, 18, 588, 5491, 7187, 5621, 202, 202, 10259, 18, 10086, 2174, 2932, 17858, 1623, 702, 7070, 16, 21483, 1769, 202, 202, 698, 288, 1082, 202, 759, 3837, 3305, 3352, 273, 1082, 202, 759, 8005, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 588, 1868, 3305, 12, 1082, 202, 759, 16907, 15990, 3773, 18, 862, 30986, 67, 47, 2356, 1769, 1082, 202, 759, 514, 3352, 1489, 273, 3352, 18, 588, 1489, 5621, 1082, 202, 430, 261, 3612, 13, 288, 9506, 202, 2 ]
group.setText( Messages.getString("HyperlinkBuilder.DrillThroughStep4") );
group.setText( Messages.getString( "HyperlinkBuilder.DrillThroughStep4" ) );
private void createDrillthroughSelectShowTarget( ) { Group group = new Group( displayArea, SWT.NONE ); group.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); group.setText( Messages.getString("HyperlinkBuilder.DrillThroughStep4") ); //$NON-NLS-1$ group.setLayout( new GridLayout( ) ); sameWindowButton = new Button( group, SWT.RADIO ); sameWindowButton.setText( Messages.getString("HyperlinkBuilder.DrillThroughSamewindow") ); //$NON-NLS-1$ newWindowButton = new Button( group, SWT.RADIO ); newWindowButton.setText( Messages.getString("HyperlinkBuilder.DrillThroughNewWindow") ); //$NON-NLS-1$ }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/997fe3f12c3ab07a8443c8931cda3cf4f6ef22da/HyperlinkBuilder.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HyperlinkBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 8956, 737, 10064, 3391, 5706, 2326, 12, 262, 202, 95, 202, 202, 1114, 1041, 273, 394, 3756, 12, 2562, 5484, 16, 348, 8588, 18, 9826, 11272, 202, 202, 1655, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 202, 202, 1655, 18, 542, 1528, 12, 4838, 18, 588, 780, 12, 315, 15996, 1232, 1263, 18, 8956, 737, 14287, 4160, 24, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 1655, 18, 542, 3744, 12, 394, 7145, 3744, 12, 262, 11272, 202, 202, 14307, 3829, 3616, 273, 394, 12569, 12, 1041, 16, 348, 8588, 18, 28829, 4294, 11272, 202, 202, 14307, 3829, 3616, 18, 542, 1528, 12, 4838, 18, 588, 780, 2932, 15996, 1232, 1263, 18, 8956, 737, 14287, 8650, 5668, 7923, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 2704, 3829, 3616, 273, 394, 12569, 12, 1041, 16, 348, 8588, 18, 28829, 4294, 11272, 202, 202, 2704, 3829, 3616, 18, 542, 1528, 12, 4838, 18, 588, 780, 2932, 15996, 1232, 1263, 18, 8956, 737, 14287, 1908, 3829, 7923, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 8956, 737, 10064, 3391, 5706, 2326, 12, 262, 202, 95, 202, 202, 1114, 1041, 273, 394, 3756, 12, 2562, 5484, 16, 348, 8588, 18, 9826, 11272, 202, 202, 1655, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 202, 202, 1655, 18, 542, 1528, 12, 4838, 18, 588, 780, 12, 315, 15996, 1232, 1263, 18, 8956, 737, 14287, 4160, 24, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 1655, 18, 542, 3744, 12, 394, 7145, 3744, 12, 262, 11272, 202, 202, 14307, 3829, 3616, 273, 394, 12569, 12, 1041, 16, 348, 8588, 18, 28829, 4294, 11272, 202, 202, 14307, 3829, 3616, 2 ]
return SWT.NONE;
return areaId;
private int getTrimArea(Point pos) { int[] areaIds = layout.getAreaIds(); for (int i = 0; i < areaIds.length; i++) { Rectangle trimRect = layout.getTrimRect(windowComposite, areaIds[i]); trimRect = Geometry.toControl(windowComposite, trimRect); // Only check 'valid' sides if ( (areaIds[i] & getValidSides()) != 0) { // TODO: more confusion binding 'areaIds' to SWT 'sides' switch (areaIds[i]) { case SWT.TOP: if (pos.x >= trimRect.x && pos.x <= (trimRect.x+trimRect.width) && pos.y <= (trimRect.y+trimRect.height)) return areaIds[i]; break; case SWT.LEFT: if (pos.y >= trimRect.y && pos.y <= (trimRect.y+trimRect.height) && pos.x <= (trimRect.x+trimRect.width)) return areaIds[i]; break; case SWT.RIGHT: if (pos.y >= trimRect.y && pos.y <= (trimRect.y+trimRect.height) && pos.x >= trimRect.x) return areaIds[i]; break; case SWT.BOTTOM: if (pos.x >= trimRect.x && pos.x <= (trimRect.x+trimRect.width) && pos.y >= trimRect.y) return areaIds[i]; break; } } } // not inside any trim area return SWT.NONE; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/5584c64150adcadcce5bbb9f45d2aafcdedc1533/TrimDropTarget.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/TrimDropTarget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 509, 336, 14795, 5484, 12, 2148, 949, 13, 288, 540, 202, 474, 8526, 5091, 2673, 273, 3511, 18, 588, 5484, 2673, 5621, 540, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 5091, 2673, 18, 2469, 31, 277, 27245, 288, 9506, 202, 19463, 2209, 6120, 273, 3511, 18, 588, 14795, 6120, 12, 5668, 9400, 16, 5091, 2673, 63, 77, 19226, 9506, 202, 5290, 6120, 273, 8344, 18, 869, 3367, 12, 5668, 9400, 16, 2209, 6120, 1769, 9506, 202, 759, 5098, 866, 296, 877, 11, 22423, 9506, 202, 430, 261, 261, 5036, 2673, 63, 77, 65, 473, 22574, 55, 4369, 10756, 480, 374, 13, 288, 6862, 202, 759, 2660, 30, 1898, 31067, 5085, 296, 5036, 2673, 11, 358, 348, 8588, 296, 87, 4369, 11, 1082, 540, 202, 9610, 261, 5036, 2673, 63, 77, 5717, 288, 25083, 202, 3593, 348, 8588, 18, 10462, 30, 6862, 1082, 202, 430, 261, 917, 18, 92, 1545, 2209, 6120, 18, 92, 597, 6862, 9506, 202, 917, 18, 92, 1648, 261, 5290, 6120, 18, 92, 15, 5290, 6120, 18, 2819, 13, 597, 6862, 9506, 202, 917, 18, 93, 1648, 261, 5290, 6120, 18, 93, 15, 5290, 6120, 18, 4210, 3719, 6862, 6862, 202, 2463, 5091, 2673, 63, 77, 15533, 6862, 1082, 202, 8820, 31, 25083, 202, 3593, 348, 8588, 18, 10066, 30, 6862, 1082, 202, 430, 261, 917, 18, 93, 1545, 2209, 6120, 18, 93, 597, 6862, 9506, 202, 917, 18, 93, 1648, 261, 5290, 6120, 18, 93, 15, 5290, 6120, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 509, 336, 14795, 5484, 12, 2148, 949, 13, 288, 540, 202, 474, 8526, 5091, 2673, 273, 3511, 18, 588, 5484, 2673, 5621, 540, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 5091, 2673, 18, 2469, 31, 277, 27245, 288, 9506, 202, 19463, 2209, 6120, 273, 3511, 18, 588, 14795, 6120, 12, 5668, 9400, 16, 5091, 2673, 63, 77, 19226, 9506, 202, 5290, 6120, 273, 8344, 18, 869, 3367, 12, 5668, 9400, 16, 2209, 6120, 1769, 9506, 202, 759, 5098, 866, 296, 877, 11, 22423, 9506, 202, 430, 261, 261, 5036, 2673, 63, 77, 65, 473, 22574, 55, 4369, 10756, 480, 374, 13, 288, 6862, 202, 759, 2660, 30, 1898, 31067, 5085, 296, 5036, 2673, 11, 2 ]
return Utilities.drawTabbedText(segment, x, y, g, this, 0);
return Utilities.drawTabbedText(segment, x, y, g, this, segment.offset);
protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { g.setColor(unselectedColor); Segment segment = new Segment(); getDocument().getText(p0, p1 - p0, segment); return Utilities.drawTabbedText(segment, x, y, g, this, 0); }
13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/66e2f6e7d39d0673c04409215da42eef752afe5f/PlainView.java/buggy/libjava/javax/swing/text/PlainView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 509, 3724, 984, 8109, 1528, 12, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 509, 293, 20, 16, 509, 293, 21, 13, 565, 1216, 6107, 2735, 503, 225, 288, 565, 314, 18, 542, 2957, 12, 318, 8109, 2957, 1769, 565, 10807, 3267, 273, 394, 10807, 5621, 565, 9956, 7675, 588, 1528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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 509, 3724, 984, 8109, 1528, 12, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 509, 293, 20, 16, 509, 293, 21, 13, 565, 1216, 6107, 2735, 503, 225, 288, 565, 314, 18, 542, 2957, 12, 318, 8109, 2957, 1769, 565, 10807, 3267, 273, 394, 10807, 5621, 565, 9956, 7675, 588, 1528, 12, 84, 20, 16, 293, 21, 300, 293, 20, 16, 3267, 1769, 565, 327, 26703, 18, 9446, 5661, 2992, 1528, 12, 9273, 16, 619, 16, 677, 16, 314, 16, 333, 16, 3267, 18, 3348, 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 ]
boolean synPredMatched342 = false;
boolean synPredMatched352 = false;
public final void elementConstructor() throws RecognitionException, TokenStreamException, XPathException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST elementConstructor_AST = null; String name= null; boolean synPredMatched342 = false; if (((LA(1)==LT))) { int _m342 = mark(); synPredMatched342 = true; inputState.guessing++; try { { match(LT); qName(); { match(_tokenSet_13); } } } catch (RecognitionException pe) { synPredMatched342 = false; } rewind(_m342); inputState.guessing--; } if ( synPredMatched342 ) { elementWithAttributes(); astFactory.addASTChild(currentAST, returnAST); elementConstructor_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else if ((LA(1)==LT)) { elementWithoutAttributes(); astFactory.addASTChild(currentAST, returnAST); elementConstructor_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { throw new NoViableAltException(LT(1), getFilename()); } returnAST = elementConstructor_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/68bb69fc2bc91cbece43dcdf563e1be3ba003e1b/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 930, 6293, 1435, 1216, 9539, 16, 3155, 1228, 503, 16, 10172, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 930, 6293, 67, 9053, 273, 446, 31, 6862, 202, 780, 508, 33, 446, 31, 25083, 202, 6494, 6194, 10391, 15400, 5026, 22, 273, 629, 31, 202, 202, 430, 261, 12443, 2534, 12, 21, 13, 631, 12050, 20349, 288, 1082, 202, 474, 389, 81, 5026, 22, 273, 2267, 5621, 1082, 202, 11982, 10391, 15400, 5026, 22, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 698, 288, 9506, 202, 95, 9506, 202, 1916, 12, 12050, 1769, 9506, 202, 85, 461, 5621, 9506, 202, 95, 9506, 202, 1916, 24899, 2316, 694, 67, 3437, 1769, 9506, 202, 97, 9506, 202, 97, 1082, 202, 97, 1082, 202, 14683, 261, 5650, 7909, 503, 2804, 13, 288, 9506, 202, 11982, 10391, 15400, 5026, 22, 273, 629, 31, 1082, 202, 97, 1082, 202, 266, 10094, 24899, 81, 5026, 22, 1769, 1082, 202, 2630, 1119, 18, 20885, 310, 413, 31, 202, 202, 97, 202, 202, 430, 261, 6194, 10391, 15400, 5026, 22, 262, 288, 1082, 202, 2956, 1190, 2498, 5621, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 1082, 202, 2956, 6293, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 930, 6293, 1435, 1216, 9539, 16, 3155, 1228, 503, 16, 10172, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 930, 6293, 67, 9053, 273, 446, 31, 6862, 202, 780, 508, 33, 446, 31, 25083, 202, 6494, 6194, 10391, 15400, 5026, 22, 273, 629, 31, 202, 202, 430, 261, 12443, 2534, 12, 21, 13, 631, 12050, 20349, 288, 1082, 202, 474, 389, 81, 5026, 22, 273, 2267, 5621, 1082, 202, 11982, 10391, 15400, 5026, 22, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 2 ]
filter = clipedNode.getGraphicsNodeRable();
filter = clipedNode.getGraphicsNodeRable(true);
public ClipRable createClip(BridgeContext ctx, Element clipElement, Element clipedElement, GraphicsNode clipedNode) { String s; // 'transform' attribute AffineTransform Tx; s = clipElement.getAttributeNS(null, SVG_TRANSFORM_ATTRIBUTE); if (s.length() != 0) { Tx = SVGUtilities.convertTransform (clipElement, SVG_TRANSFORM_ATTRIBUTE, s); } else { Tx = new AffineTransform(); } // 'clipPathUnits' attribute - default is userSpaceOnUse short coordSystemType; s = clipElement.getAttributeNS(null, SVG_CLIP_PATH_UNITS_ATTRIBUTE); if (s.length() == 0) { coordSystemType = SVGUtilities.USER_SPACE_ON_USE; } else { coordSystemType = SVGUtilities.parseCoordinateSystem (clipElement, SVG_CLIP_PATH_UNITS_ATTRIBUTE, s); } // additional transform to move to objectBoundingBox coordinate system if (coordSystemType == SVGUtilities.OBJECT_BOUNDING_BOX) { Tx = SVGUtilities.toObjectBBox(Tx, clipedNode); } // Build the GVT tree that represents the clip path // // The silhouettes of the child elements are logically OR'd // together to create a single silhouette which is then used to // restrict the region onto which paint can be applied. // // The 'clipPath' element or any of its children can specify // property 'clip-path'. // Area clipPath = new Area(); GVTBuilder builder = ctx.getGVTBuilder(); boolean hasChildren = false; for(Node node = clipElement.getFirstChild(); node != null; node = node.getNextSibling()) { // check if the node is a valid Element if (node.getNodeType() != node.ELEMENT_NODE) { continue; } Element child = (Element)node; GraphicsNode clipNode = builder.build(ctx, child) ; // check if a GVT node has been created if (clipNode == null) { continue; } hasChildren = true; // compute the outline of the current clipPath's child int wr = CSSUtilities.convertClipRule(child); GeneralPath path; Shape cno = clipNode.getOutline(); AffineTransform cnt = clipNode.getTransform(); if (cnt != null) { path = new GeneralPath(cnt.createTransformedShape(cno)); } else { path = new GeneralPath(cno); } path.setWindingRule(wr); Shape outline = Tx.createTransformedShape(path); // apply the 'clip-path' of the current clipPath's child ShapeNode outlineNode = new ShapeNode(); outlineNode.setShape(outline); ClipRable clip = CSSUtilities.convertClipPath(child, outlineNode, ctx); if (clip != null) { Area area = new Area(outline); area.subtract(new Area(clip.getClipPath())); outline = area; } clipPath.add(new Area(outline)); } if (!hasChildren) { return null; // empty clipPath } // construct the shape node that represents the clipPath ShapeNode clipPathNode = new ShapeNode(); clipPathNode.setShape(clipPath); // apply the 'clip-path' of the clipPath element (already in user space) ClipRable clipElementClipPath = CSSUtilities.convertClipPath(clipElement, clipPathNode, ctx); if (clipElementClipPath != null) { clipPath.subtract(new Area(clipElementClipPath.getClipPath())); } Filter filter = clipedNode.getFilter(); if (filter == null) { // Make the initial source as a RenderableImage filter = clipedNode.getGraphicsNodeRable(); } return new ClipRable8Bit(filter, clipPath); }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/9032eb42ccd8e0dea06e46d8fb9046c189cad094/SVGClipPathElementBridge.java/clean/sources/org/apache/batik/bridge/SVGClipPathElementBridge.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 385, 3169, 54, 429, 752, 15339, 12, 13691, 1042, 1103, 16, 27573, 3010, 6807, 1046, 16, 27573, 3010, 4942, 1845, 1046, 16, 27573, 16830, 907, 4942, 1845, 907, 13, 288, 3639, 514, 272, 31, 3639, 368, 296, 6547, 11, 1566, 3639, 23906, 558, 4059, 6424, 31, 3639, 272, 273, 6807, 1046, 18, 588, 1499, 3156, 12, 2011, 16, 11281, 67, 16596, 4983, 67, 11616, 1769, 3639, 309, 261, 87, 18, 2469, 1435, 480, 374, 13, 288, 5411, 6424, 273, 11281, 11864, 18, 6283, 4059, 7734, 261, 14161, 1046, 16, 11281, 67, 16596, 4983, 67, 11616, 16, 272, 1769, 3639, 289, 469, 288, 5411, 6424, 273, 394, 23906, 558, 4059, 5621, 3639, 289, 3639, 368, 296, 14161, 743, 7537, 11, 1566, 300, 805, 353, 729, 3819, 1398, 3727, 3639, 3025, 2745, 3163, 559, 31, 3639, 272, 273, 6807, 1046, 18, 588, 1499, 3156, 12, 2011, 16, 11281, 67, 7697, 52, 67, 4211, 67, 24325, 67, 11616, 1769, 3639, 309, 261, 87, 18, 2469, 1435, 422, 374, 13, 288, 5411, 2745, 3163, 559, 273, 11281, 11864, 18, 4714, 67, 6616, 67, 673, 67, 8001, 31, 3639, 289, 469, 288, 5411, 2745, 3163, 559, 273, 11281, 11864, 18, 2670, 13503, 3163, 7734, 261, 14161, 1046, 16, 11281, 67, 7697, 52, 67, 4211, 67, 24325, 67, 11616, 16, 272, 1769, 3639, 289, 3639, 368, 3312, 2510, 358, 3635, 358, 733, 19020, 7799, 2619, 3639, 309, 261, 5732, 3163, 559, 422, 11281, 11864, 18, 9422, 67, 19318, 1360, 67, 16876, 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, 385, 3169, 54, 429, 752, 15339, 12, 13691, 1042, 1103, 16, 27573, 3010, 6807, 1046, 16, 27573, 3010, 4942, 1845, 1046, 16, 27573, 16830, 907, 4942, 1845, 907, 13, 288, 3639, 514, 272, 31, 3639, 368, 296, 6547, 11, 1566, 3639, 23906, 558, 4059, 6424, 31, 3639, 272, 273, 6807, 1046, 18, 588, 1499, 3156, 12, 2011, 16, 11281, 67, 16596, 4983, 67, 11616, 1769, 3639, 309, 261, 87, 18, 2469, 1435, 480, 374, 13, 288, 5411, 6424, 273, 11281, 11864, 18, 6283, 4059, 7734, 261, 14161, 1046, 16, 11281, 67, 16596, 4983, 67, 11616, 16, 272, 1769, 3639, 289, 469, 288, 5411, 6424, 273, 394, 23906, 558, 4059, 5621, 3639, 289, 3639, 368, 296, 14161, 743, 2 ]
if ((spline_vertex_index % 4) == 0) {
if ((splineVertexCount % 4) == 0) {
protected void spline_vertex(float x, float y, float z, boolean bezier) { // allocate space for the spline vertices // to improve processing applet load times, don't allocate until actual use if (spline_vertex == null) { spline_vertex = new float[SPLINE_VERTEX_ALLOC][VERTEX_FIELD_COUNT]; } // if more than 128 points, shift everything back to the beginning if (spline_vertex_index == SPLINE_VERTEX_ALLOC) { System.arraycopy(spline_vertex[SPLINE_VERTEX_ALLOC-3], 0, spline_vertex[0], 0, VERTEX_FIELD_COUNT); System.arraycopy(spline_vertex[SPLINE_VERTEX_ALLOC-2], 0, spline_vertex[1], 0, VERTEX_FIELD_COUNT); System.arraycopy(spline_vertex[SPLINE_VERTEX_ALLOC-1], 0, spline_vertex[2], 0, VERTEX_FIELD_COUNT); spline_vertex_index = 3; } // 'flat' may be a misnomer here because it's actually just // calculating whether z is zero for all the spline points, // so that it knows whether to calculate all three params, // or just two for x and y. //if (spline_vertices_flat) { //if (z != 0) spline_vertices_flat = false; //} float vertex[] = spline_vertex[spline_vertex_index]; vertex[MX] = x; vertex[MY] = y; vertex[MZ] = z; if (fill) { vertex[R] = fillR; vertex[G] = fillG; vertex[B] = fillB; vertex[A] = fillA; } if (stroke) { vertex[SR] = strokeR; vertex[SG] = strokeG; vertex[SB] = strokeB; vertex[SA] = strokeA; vertex[SW] = strokeWeight; } // this complicated "if" construct may defeat the purpose if (textureImage != null) { vertex[U] = textureU; vertex[V] = textureV; } //if (normalChanged) { vertex[NX] = normalX; vertex[NY] = normalY; vertex[NZ] = normalZ; //} spline_vertex_index++; // draw a segment if there are enough points if (spline_vertex_index > 3) { if (bezier) { if ((spline_vertex_index % 4) == 0) { if (!bezier_inited) bezier_init(); spline3_segment(spline_vertex_index-4, spline_vertex_index-4, bezier_draw, bezier_detail); } } else { // catmull-rom curve (!bezier) if (!curve_inited) curve_init(); spline3_segment(spline_vertex_index-4, spline_vertex_index-3, curve_draw, curve_detail); } } }
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/115039885918b6989c6f1e64724aa2bdaa5493c0/PGraphics3.java/buggy/core/PGraphics3.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 22826, 67, 15281, 12, 5659, 619, 16, 1431, 677, 16, 1431, 998, 16, 1250, 29368, 13, 288, 565, 368, 10101, 3476, 364, 326, 22826, 6928, 565, 368, 358, 21171, 4929, 21853, 1262, 4124, 16, 2727, 1404, 10101, 3180, 3214, 999, 565, 309, 261, 13106, 558, 67, 15281, 422, 446, 13, 288, 1377, 22826, 67, 15281, 273, 394, 1431, 63, 3118, 5997, 67, 18937, 67, 1013, 29450, 6362, 18937, 67, 6776, 67, 7240, 15533, 565, 289, 565, 368, 309, 1898, 2353, 8038, 3143, 16, 4654, 7756, 1473, 358, 326, 8435, 565, 309, 261, 13106, 558, 67, 15281, 67, 1615, 422, 11405, 5997, 67, 18937, 67, 1013, 29450, 13, 288, 1377, 2332, 18, 1126, 3530, 12, 13106, 558, 67, 15281, 63, 3118, 5997, 67, 18937, 67, 1013, 29450, 17, 23, 6487, 374, 16, 15604, 22826, 67, 15281, 63, 20, 6487, 374, 16, 6422, 13439, 67, 6776, 67, 7240, 1769, 1377, 2332, 18, 1126, 3530, 12, 13106, 558, 67, 15281, 63, 3118, 5997, 67, 18937, 67, 1013, 29450, 17, 22, 6487, 374, 16, 15604, 22826, 67, 15281, 63, 21, 6487, 374, 16, 6422, 13439, 67, 6776, 67, 7240, 1769, 1377, 2332, 18, 1126, 3530, 12, 13106, 558, 67, 15281, 63, 3118, 5997, 67, 18937, 67, 1013, 29450, 17, 21, 6487, 374, 16, 15604, 22826, 67, 15281, 63, 22, 6487, 374, 16, 6422, 13439, 67, 6776, 67, 7240, 1769, 1377, 22826, 67, 15281, 67, 1615, 273, 890, 31, 565, 289, 565, 368, 296, 15401, 11, 2026, 506, 279, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 22826, 67, 15281, 12, 5659, 619, 16, 1431, 677, 16, 1431, 998, 16, 1250, 29368, 13, 288, 565, 368, 10101, 3476, 364, 326, 22826, 6928, 565, 368, 358, 21171, 4929, 21853, 1262, 4124, 16, 2727, 1404, 10101, 3180, 3214, 999, 565, 309, 261, 13106, 558, 67, 15281, 422, 446, 13, 288, 1377, 22826, 67, 15281, 273, 394, 1431, 63, 3118, 5997, 67, 18937, 67, 1013, 29450, 6362, 18937, 67, 6776, 67, 7240, 15533, 565, 289, 565, 368, 309, 1898, 2353, 8038, 3143, 16, 4654, 7756, 1473, 358, 326, 8435, 565, 309, 261, 13106, 558, 67, 15281, 67, 1615, 422, 11405, 5997, 67, 18937, 67, 1013, 29450, 13, 288, 1377, 2332, 18, 1126, 3530, 12, 13106, 558, 2 ]
if (superClass != null) { return superClass.getAnnouncement();
if (getSuperClass() != null) { return getSuperClass().getAnnouncement();
public String getAnnouncement() { if (announcement == null) { if (superClass != null) { return superClass.getAnnouncement(); } else { // Generate the default announcement string for the Tool String defaultAnnouncement = ManagedMakeMessages.getResourceString(DEFAULT_ANNOUNCEMENT_PREFIX) + WHITESPACE + getName(); // + "(" + getId() + ")"; return defaultAnnouncement; } } return announcement; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/0119b876950a205bdddabaad5e05a45b2a4dc387/Tool.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Tool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 336, 23137, 475, 1435, 288, 202, 202, 430, 261, 1072, 8386, 475, 422, 446, 13, 288, 1082, 202, 430, 261, 9565, 797, 480, 446, 13, 288, 9506, 202, 2463, 18846, 18, 588, 23137, 475, 5621, 1082, 202, 97, 469, 288, 9506, 202, 759, 225, 6654, 326, 805, 25199, 533, 364, 326, 13288, 9506, 202, 780, 805, 23137, 475, 273, 10024, 6464, 5058, 18, 588, 1420, 780, 12, 5280, 67, 1258, 3417, 2124, 1441, 3212, 67, 6307, 13, 397, 6862, 202, 20767, 397, 1723, 5621, 225, 368, 397, 12452, 397, 2634, 1435, 397, 7310, 31, 282, 9506, 202, 2463, 805, 23137, 475, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 25199, 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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, 422, 446, 13, 288, 1082, 202, 430, 261, 9565, 797, 480, 446, 13, 288, 9506, 202, 2463, 18846, 18, 588, 23137, 475, 5621, 1082, 202, 97, 469, 288, 9506, 202, 759, 225, 6654, 326, 805, 25199, 533, 364, 326, 13288, 9506, 202, 780, 805, 23137, 475, 273, 10024, 6464, 5058, 18, 588, 1420, 780, 12, 5280, 67, 1258, 3417, 2124, 1441, 3212, 67, 6307, 13, 397, 6862, 202, 20767, 397, 1723, 5621, 225, 368, 397, 12452, 397, 2634, 1435, 397, 7310, 31, 282, 9506, 202, 2463, 805, 23137, 475, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 25199, 31, 202, 97, 2 ]
updateAgentAction("In:" + entry[i].getKey(), entry[i].getValue());
updateAgentAction("In:" + entry[i].getKey(), entry[i].getValue());
public void receivePolicyMessage(Policy policy, String policyID, String policyName, String policyDescription, String policyScope, String policySubjectID, String policySubjectName, String policyTargetID, String policyTargetName, String policyType) { if(debug) System.out.println("--updating AccessPolicyProxy for:" + agent); if(policy == null) { if (debug) { System.out.println("AccessPolicyProxy: no policy"); } return; } //whom is the policy for? /* if((!policySubjectName.equals(agent)) && (!agent.equals("DEFAULT"))) { if (debug) { System.out.println("policy not for:"+agent + " - Should be for " + policySubjectName); } return; } */ //for each RuleParameter RuleParameter[] ruleParameters = policy.getRuleParameters(); for (int j=0; j < ruleParameters.length; j++) { //for now only process KeyRuleParameter if(!(ruleParameters[j] instanceof KeyRuleParameter)) return; KeyRuleParameter krp = (KeyRuleParameter)ruleParameters[j]; //process rules String name = krp.getName(); String value = (String)krp.getValue(); KeyRuleParameterEntry[] entry = krp.getKeys(); if(name.endsWith("Verb")){ if(name.startsWith("Outgoing")) { if(value!=null && value !="" ) { if(debug) System.out.println("--default out verbs specified for:"+ agent); updateVerb("Out:DEFAULT",value); } for(int i = 0; i < entry.length; i++) { updateVerb("Out:" + entry[i].getKey(), entry[i].getValue()); } } if(name.startsWith("Incoming")) { if(value!=null && value !="" ) { if(debug) System.out.println("--default agentAction specified for:"+ agent); updateVerb("In:DEFAULT", value); } for(int i = 0; i < entry.length; i++) { updateVerb("In:" + entry[i].getKey(), entry[i].getValue()); } } } if(name.endsWith("AgentAction")){ if(name.startsWith("Outgoing")) { if(value!=null && value !="" ) { if(debug) System.out.println("--default agentAction specified for:"+ agent); updateAgentAction("Out:DEFAULT",value); } for(int i = 0; i < entry.length; i++) { updateAgentAction("Out:" + entry[i].getKey(), entry[i].getValue()); } } if(name.startsWith("Incoming")) { if(value!=null && value !="" ) { if(debug) System.out.println("--default agentAction specified for:"+ agent); updateAgentAction("In:DEFAULT", value); } for(int i = 0; i < entry.length; i++) { updateAgentAction("In:" + entry[i].getKey(), entry[i].getValue()); } } } if(name.endsWith("MessageAction")){ if(name.startsWith("Outgoing")) { if(value!=null && value !="" ) if(debug) System.out.println("--default messageAction specified for:"+ agent); for(int i = 0; i < entry.length; i++) { updateAction(":"+entry[i].getKey(), entry[i].getValue()); } } if(name.startsWith("Incoming")) { if(value!=null && value !="" ) if(debug) System.out.println("--default messageAction specified for:"+ agent); for(int i = 0; i < entry.length; i++) { updateAction(entry[i].getKey()+":", entry[i].getValue()); } } } if(name.endsWith("MessageCriticality")){ if(name.startsWith("Outgoing")) { if(value!=null && value !="" ) updateCriticality(":"+"DEFAULT",value); for(int i = 0; i < entry.length; i++) { updateCriticality(":"+entry[i].getKey(), entry[i].getValue()); } } if(name.startsWith("Incoming")) { if(value!=null && value !="" ) updateCriticality("DEFAULT"+":",value); for(int i = 0; i < entry.length; i++) { updateCriticality(entry[i].getKey()+":", entry[i].getValue()); } } } if(name.endsWith("MessageIntegrity")){ if(name.startsWith("Outgoing")) { if(value!=null && value !="" ) updateIntegrity(":"+"DEFAULT",value); for(int i = 0; i < entry.length; i++) { updateIntegrity(":"+entry[i].getKey(), entry[i].getValue()); } } if(name.startsWith("Incoming")) { if(value!=null && value !="" ) updateIntegrity("DEFAULT"+":",value); for(int i = 0; i < entry.length; i++) { updateIntegrity(entry[i].getKey()+":", entry[i].getValue()); } } } } }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/6de90ccc9be8e4226236949d6b963e004e1df9a7/AccessControlPolicyServiceImpl.java/buggy/securityservices/src/com/nai/security/access/AccessControlPolicyServiceImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6798, 2582, 1079, 12, 2582, 3329, 16, 6862, 377, 514, 3329, 734, 16, 6862, 377, 514, 3329, 461, 16, 6862, 377, 514, 3329, 3291, 16, 6862, 377, 514, 3329, 3876, 16, 6862, 377, 514, 3329, 6638, 734, 16, 6862, 377, 514, 3329, 6638, 461, 16, 6862, 377, 514, 3329, 2326, 734, 16, 6862, 377, 514, 3329, 2326, 461, 16, 6862, 377, 514, 3329, 559, 13, 288, 1377, 309, 12, 4148, 13, 2332, 18, 659, 18, 8222, 2932, 413, 5533, 1776, 5016, 2582, 3886, 364, 2773, 6862, 282, 397, 4040, 1769, 1377, 309, 12, 5086, 422, 446, 13, 288, 202, 430, 261, 4148, 13, 288, 202, 225, 2332, 18, 659, 18, 8222, 2932, 1862, 2582, 3886, 30, 1158, 3329, 8863, 202, 97, 202, 2463, 31, 1377, 289, 1377, 368, 3350, 362, 353, 326, 3329, 364, 35, 1377, 1748, 1377, 309, 12443, 5, 5086, 6638, 461, 18, 14963, 12, 5629, 3719, 597, 16051, 5629, 18, 14963, 2932, 5280, 6, 20349, 288, 202, 430, 261, 4148, 13, 288, 202, 225, 2332, 18, 659, 18, 8222, 2932, 5086, 486, 364, 2773, 15, 5629, 9506, 377, 397, 315, 300, 9363, 506, 364, 315, 397, 3329, 6638, 461, 1769, 202, 97, 202, 2463, 31, 1377, 289, 1377, 1195, 1377, 368, 1884, 1517, 6781, 1662, 1377, 6781, 1662, 8526, 1720, 2402, 273, 3329, 18, 588, 2175, 2402, 5621, 1377, 364, 261, 474, 525, 33, 20, 31, 525, 411, 1720, 2402, 18, 2469, 31, 525, 27245, 3639, 288, 202, 225, 368, 1884, 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, 6798, 2582, 1079, 12, 2582, 3329, 16, 6862, 377, 514, 3329, 734, 16, 6862, 377, 514, 3329, 461, 16, 6862, 377, 514, 3329, 3291, 16, 6862, 377, 514, 3329, 3876, 16, 6862, 377, 514, 3329, 6638, 734, 16, 6862, 377, 514, 3329, 6638, 461, 16, 6862, 377, 514, 3329, 2326, 734, 16, 6862, 377, 514, 3329, 2326, 461, 16, 6862, 377, 514, 3329, 559, 13, 288, 1377, 309, 12, 4148, 13, 2332, 18, 659, 18, 8222, 2932, 413, 5533, 1776, 5016, 2582, 3886, 364, 2773, 6862, 282, 397, 4040, 1769, 1377, 309, 12, 5086, 422, 446, 13, 288, 202, 430, 261, 4148, 13, 288, 202, 225, 2332, 18, 659, 18, 8222, 2932, 1862, 2582, 3886, 30, 2 ]
if (addDummy) newItem(item, SWT.NULL, -1);
if (addDummy) { newItem(item, SWT.NULL, -1); }
protected void updatePlus(Item item, Object element) { boolean hasPlus = getItemCount(item) > 0; boolean needsPlus = isExpandable(item, null, element); boolean removeAll = false; boolean addDummy = false; Object data = item.getData(); if (data != null && equals(element, data)) { // item shows same element if (hasPlus != needsPlus) { if (needsPlus) addDummy = true; else removeAll = true; } } else { // item shows different element removeAll = true; addDummy = needsPlus; // we cannot maintain expand state so collapse it setExpanded(item, false); } if (removeAll) { // remove all children Item[] items = getItems(item); for (int i = 0; i < items.length; i++) { if (items[i].getData() != null) disassociate(items[i]); items[i].dispose(); } } if (addDummy) newItem(item, SWT.NULL, -1); // append a dummy }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/391f2606b4ea2c1fb5052d938ca90877ee7631f6/AbstractTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1089, 13207, 12, 1180, 761, 16, 1033, 930, 13, 288, 3639, 1250, 711, 13207, 273, 8143, 1380, 12, 1726, 13, 405, 374, 31, 3639, 1250, 4260, 13207, 273, 353, 12271, 429, 12, 1726, 16, 446, 16, 930, 1769, 3639, 1250, 12787, 273, 629, 31, 3639, 1250, 527, 20094, 273, 629, 31, 3639, 1033, 501, 273, 761, 18, 588, 751, 5621, 3639, 309, 261, 892, 480, 446, 597, 1606, 12, 2956, 16, 501, 3719, 288, 5411, 368, 761, 17975, 1967, 930, 5411, 309, 261, 5332, 13207, 480, 4260, 13207, 13, 288, 7734, 309, 261, 20600, 13207, 13, 10792, 527, 20094, 273, 638, 31, 7734, 469, 10792, 12787, 273, 638, 31, 5411, 289, 3639, 289, 469, 288, 5411, 368, 761, 17975, 3775, 930, 5411, 12787, 273, 638, 31, 5411, 527, 20094, 273, 4260, 13207, 31, 5411, 368, 732, 2780, 17505, 4542, 919, 1427, 13627, 518, 5411, 444, 17957, 12, 1726, 16, 629, 1769, 3639, 289, 3639, 309, 261, 4479, 1595, 13, 288, 5411, 368, 1206, 777, 2325, 5411, 4342, 8526, 1516, 273, 15515, 12, 1726, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 277, 27245, 288, 7734, 309, 261, 3319, 63, 77, 8009, 588, 751, 1435, 480, 446, 13, 10792, 1015, 11577, 12, 3319, 63, 77, 19226, 7734, 1516, 63, 77, 8009, 2251, 4150, 5621, 5411, 289, 3639, 289, 3639, 309, 261, 1289, 20094, 13, 5411, 26536, 12, 1726, 16, 348, 8588, 18, 8560, 16, 300, 21, 1769, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1089, 13207, 12, 1180, 761, 16, 1033, 930, 13, 288, 3639, 1250, 711, 13207, 273, 8143, 1380, 12, 1726, 13, 405, 374, 31, 3639, 1250, 4260, 13207, 273, 353, 12271, 429, 12, 1726, 16, 446, 16, 930, 1769, 3639, 1250, 12787, 273, 629, 31, 3639, 1250, 527, 20094, 273, 629, 31, 3639, 1033, 501, 273, 761, 18, 588, 751, 5621, 3639, 309, 261, 892, 480, 446, 597, 1606, 12, 2956, 16, 501, 3719, 288, 5411, 368, 761, 17975, 1967, 930, 5411, 309, 261, 5332, 13207, 480, 4260, 13207, 13, 288, 7734, 309, 261, 20600, 13207, 13, 10792, 527, 20094, 273, 638, 31, 7734, 469, 10792, 12787, 273, 638, 31, 5411, 289, 3639, 289, 469, 288, 5411, 2 ]
public OffsetMeanAmpConfig(){ ampRange = new UnitRangeImpl(-500, 500, UnitImpl.COUNT);
public OffsetMeanAmpConfig(LocalSeismogram aSeis, MicroSecondTimeRange range){ LocalSeismogramImpl seis = (LocalSeismogramImpl)aSeis; int beginIndex = SeisPlotUtil.getPixel(seis.getNumPoints(), seis.getBeginTime(), seis.getEndTime(), range.getBeginTime()); if (beginIndex < 0) beginIndex = 0; if (beginIndex > seis.getNumPoints()) beginIndex = seis.getNumPoints(); int endIndex = SeisPlotUtil.getPixel(seis.getNumPoints(), seis.getBeginTime(), seis.getEndTime(), range.getEndTime()); if (endIndex < 0) endIndex = 0; if (endIndex > seis.getNumPoints()) endIndex = seis.getNumPoints(); if (endIndex == beginIndex) { ampRange = new UnitRangeImpl(-500, 500, UnitImpl.COUNT); } try { double min = seis.getMinValue(beginIndex, endIndex).getValue(); double max = seis.getMaxValue(beginIndex, endIndex).getValue(); if(min > max) ampRange = new UnitRangeImpl(min, -min, seis.getAmplitudeRange().getUnit()); else ampRange = new UnitRangeImpl(-max, max, seis.getAmplitudeRange().getUnit()); }catch (Exception e) { ampRange = new UnitRangeImpl(-500, 500, UnitImpl.COUNT); }
public OffsetMeanAmpConfig(){ ampRange = new UnitRangeImpl(-500, 500, UnitImpl.COUNT); }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/8fa395dde111d49279fbcdad32de6d2b553e5c76/OffsetMeanAmpConfig.java/buggy/src/edu/sc/seis/fissuresUtil/display/OffsetMeanAmpConfig.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9874, 15312, 26895, 809, 1435, 95, 202, 931, 2655, 273, 394, 8380, 2655, 2828, 19236, 12483, 16, 6604, 16, 8380, 2828, 18, 7240, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9874, 15312, 26895, 809, 1435, 95, 202, 931, 2655, 273, 394, 8380, 2655, 2828, 19236, 12483, 16, 6604, 16, 8380, 2828, 18, 7240, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"<modification type=\"unknown\"><filename>File\"Name&amp;</filename><project>Folder'Name</project><date>" + formatter.format(modifiedTime) + "</date><user>User&lt;&gt;Name</user><comment><![CDATA[Comment]]></comment>";
"<modification type=\"unknown\">" + "<file action=\"checkin\"><filename>File\"Name&amp;</filename>" + "<project>Folder'Name</project></file>" + "<date>" + formatter.format(modifiedTime) + "</date>" + "<user>User&lt;&gt;Name</user>" + "<comment><![CDATA[Comment]]></comment>";
public void testToXml() { Date modifiedTime = new Date(); SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy"); Modification mod = new Modification(); mod.fileName = "File\"Name&"; mod.folderName = "Folder'Name"; mod.modifiedTime = modifiedTime; mod.userName = "User<>Name"; mod.comment = "Comment"; String base = "<modification type=\"unknown\"><filename>File\"Name&amp;</filename><project>Folder'Name</project><date>" + formatter.format(modifiedTime) + "</date><user>User&lt;&gt;Name</user><comment><![CDATA[Comment]]></comment>"; String closingTag = "</modification>"; String expected = base + closingTag; assertEquals(expected, mod.toXml(formatter)); String expectedWithEmail = base + "<email>[email protected]</email>" + closingTag; mod.emailAddress = "[email protected]"; assertEquals(expectedWithEmail, mod.toXml(formatter)); }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/6c388b514a0547682989734ceba9679338747a3a/ModificationTest.java/buggy/main/test/net/sourceforge/cruisecontrol/ModificationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 774, 4432, 1435, 288, 3639, 2167, 4358, 950, 273, 394, 2167, 5621, 3639, 17005, 4453, 273, 394, 17005, 2932, 8206, 19, 449, 19, 17722, 8863, 3639, 3431, 1480, 681, 273, 394, 3431, 1480, 5621, 3639, 681, 18, 17812, 273, 315, 812, 2412, 461, 10, 14432, 3639, 681, 18, 5609, 461, 273, 315, 3899, 11, 461, 14432, 3639, 681, 18, 7342, 950, 273, 4358, 950, 31, 3639, 681, 18, 1355, 461, 273, 315, 1299, 29667, 461, 14432, 3639, 681, 18, 3469, 273, 315, 4469, 14432, 3639, 514, 1026, 273, 5411, 3532, 31064, 618, 5189, 8172, 2412, 4438, 3459, 34, 812, 2412, 461, 10, 931, 27922, 3459, 4438, 4406, 34, 3899, 11, 461, 1757, 4406, 4438, 712, 2984, 7734, 397, 4453, 18, 2139, 12, 7342, 950, 13, 7734, 397, 6823, 712, 4438, 1355, 34, 1299, 10, 5618, 23480, 4521, 31, 461, 1757, 1355, 4438, 3469, 4438, 5, 63, 18375, 63, 4469, 13563, 4695, 3469, 2984, 31, 3639, 514, 7647, 1805, 273, 6823, 31064, 2984, 31, 3639, 514, 2665, 273, 1026, 397, 7647, 1805, 31, 3639, 1815, 8867, 12, 3825, 16, 681, 18, 869, 4432, 12, 12354, 10019, 3639, 514, 2665, 1190, 4134, 273, 5411, 1026, 397, 3532, 3652, 34, 11351, 18, 3215, 36, 372, 24286, 2616, 18, 372, 89, 2616, 18, 372, 2616, 18, 372, 92, 1757, 3652, 2984, 397, 7647, 1805, 31, 3639, 681, 18, 3652, 1887, 273, 315, 11351, 18, 3215, 36, 372, 24286, 2616, 18, 372, 89, 2616, 18, 372, 2616, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 774, 4432, 1435, 288, 3639, 2167, 4358, 950, 273, 394, 2167, 5621, 3639, 17005, 4453, 273, 394, 17005, 2932, 8206, 19, 449, 19, 17722, 8863, 3639, 3431, 1480, 681, 273, 394, 3431, 1480, 5621, 3639, 681, 18, 17812, 273, 315, 812, 2412, 461, 10, 14432, 3639, 681, 18, 5609, 461, 273, 315, 3899, 11, 461, 14432, 3639, 681, 18, 7342, 950, 273, 4358, 950, 31, 3639, 681, 18, 1355, 461, 273, 315, 1299, 29667, 461, 14432, 3639, 681, 18, 3469, 273, 315, 4469, 14432, 3639, 514, 1026, 273, 5411, 3532, 31064, 618, 5189, 8172, 2412, 4438, 3459, 34, 812, 2412, 461, 10, 931, 27922, 3459, 4438, 4406, 34, 3899, 11, 461, 1757, 4406, 4438, 712, 2 ]
return new TreeSet<T>(map.subMap(from, to));
return subSet(from, true, to, false);
public SortedSet<T> subSet(T from, T to) { return new TreeSet<T>(map.subMap(from, to)); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/7959ecb038eadae99e617348ee69bbc2e9d87e2f/TreeSet.java/clean/java/util/TreeSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 22123, 32, 56, 34, 720, 694, 12, 56, 628, 16, 399, 358, 13, 225, 288, 565, 327, 720, 694, 12, 2080, 16, 638, 16, 358, 16, 629, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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 ]
public final void render( Map htRenderers, Bounds bo ) throws ChartException { final boolean bFirstInSequence = ( iSeriesIndex == 0 ); final boolean bLastInSequence = ( iSeriesIndex == iSeriesCount - 1 ); final ILogger il = DefaultLoggerImpl.instance( ); long lTimer = System.currentTimeMillis( ); final Chart cm = getModel( ); final IDeviceRenderer idr = getDevice( ); final ScriptHandler sh = getRunTimeContext( ).getScriptHandler( ); if ( bFirstInSequence ) // SEQUENCE OF MULTIPLE SERIES RENDERERS // (POSSIBLY PARTICIPATING IN A COMBINATION // CHART) { // SETUP A TIMER lTimer = System.currentTimeMillis( ); htRenderers.put( TIMER, new Long( lTimer ) ); // RENDER THE CHART BY WALKING THROUGH THE RECURSIVE BLOCK STRUCTURE Block bl = cm.getBlock( ); final Enumeration e = bl.children( true ); final BlockGenerationEvent bge = new BlockGenerationEvent( bl ); // ALWAYS RENDER THE OUTERMOST BLOCK FIRST ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); bge.updateBlock( bl ); renderBlock( idr, bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); while ( e.hasMoreElements( ) ) { bl = (Block) e.nextElement( ); bge.updateBlock( bl ); if ( bl instanceof Plot ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderPlot( idr, (Plot) bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); if ( !bLastInSequence ) { break; // STOP AT THE PLOT IF NOT ALSO THE LAST IN THE // SEQUENCE } } else if ( bl instanceof TitleBlock ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderTitle( idr, bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } else if ( bl instanceof LabelBlock ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderLabel( idr, bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } else if ( bl instanceof Legend ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderLegend( idr, (Legend) bl, htRenderers ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } else { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderBlock( idr, bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } } } else if ( bLastInSequence ) { Block bl = cm.getBlock( ); final Enumeration e = bl.children( true ); final BlockGenerationEvent bge = new BlockGenerationEvent( this ); boolean bStarted = false; while ( e.hasMoreElements( ) ) { bl = (Block) e.nextElement( ); if ( !bStarted && !bl.isPlot( ) ) { continue; // IGNORE ALL BLOCKS UNTIL PLOT IS ENCOUNTERED } bStarted = true; bge.updateBlock( bl ); if ( bl instanceof Plot ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderPlot( idr, (Plot) bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } else if ( bl instanceof TitleBlock ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderTitle( idr, bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } else if ( bl instanceof LabelBlock ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderLabel( idr, bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } else if ( bl instanceof Legend ) { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderLegend( idr, (Legend) bl, htRenderers ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } else { ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, bl ); renderBlock( idr, bl ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, bl ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_BLOCK, bl ); } } } else // FOR ALL SERIES IN-BETWEEN, ONLY RENDER THE PLOT { final BlockGenerationEvent bge = new BlockGenerationEvent( this ); Plot p = cm.getPlot( ); bge.updateBlock( p ); ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_BLOCK, p ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, p ); renderPlot( idr, p ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_BLOCK, p ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_BLOCK, p ); } lTimer = System.currentTimeMillis( ) - lTimer; if ( htRenderers.containsKey( TIMER ) ) { final Long l = (Long) htRenderers.get( TIMER ); htRenderers.put( TIMER, new Long( l.longValue( ) + lTimer ) ); } else { htRenderers.put( TIMER, new Long( lTimer ) ); } if ( bLastInSequence ) { final PlotWith2DAxes pw2da = (PlotWith2DAxes) getComputations( ); pw2da.getStackedSeriesLookup( ).resetSubUnits( ); il.log( ILogger.INFORMATION, Messages.getString( "info.elapsed.time.render", //$NON-NLS-1$ new Object[]{ new Long( lTimer ) }, getRunTimeContext( ).getLocale( ) ) ); // i18n_CONCATENATIONS_REMOVED htRenderers.remove( TIMER ); } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/bdb7b6c5463f7273d9f1038e97552808a8df1f58/AxesRenderer.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/AxesRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1743, 12, 1635, 14049, 3420, 414, 16, 20382, 800, 262, 1082, 202, 15069, 14804, 503, 202, 95, 202, 202, 6385, 1250, 324, 3759, 382, 4021, 273, 261, 277, 6485, 1016, 422, 374, 11272, 202, 202, 6385, 1250, 324, 3024, 382, 4021, 273, 261, 277, 6485, 1016, 422, 277, 6485, 1380, 300, 404, 11272, 202, 202, 6385, 467, 3328, 14254, 273, 2989, 3328, 2828, 18, 1336, 12, 11272, 202, 202, 5748, 328, 6777, 273, 2332, 18, 2972, 28512, 12, 11272, 202, 202, 6385, 14804, 5003, 273, 7454, 12, 11272, 202, 202, 6385, 467, 3654, 6747, 612, 86, 273, 19512, 12, 11272, 202, 202, 6385, 7739, 1503, 699, 273, 336, 1997, 950, 1042, 12, 262, 18, 588, 3651, 1503, 12, 11272, 202, 202, 430, 261, 324, 3759, 382, 4021, 262, 368, 27118, 15932, 31385, 900, 7758, 8805, 28332, 11367, 6862, 9506, 202, 759, 261, 2419, 1260, 13450, 7076, 20814, 2871, 2579, 28054, 2120, 432, 5423, 12615, 2689, 6862, 9506, 202, 759, 6469, 4928, 13, 202, 202, 95, 1082, 202, 759, 7855, 3079, 432, 399, 31582, 1082, 202, 80, 6777, 273, 2332, 18, 2972, 28512, 12, 11272, 1082, 202, 647, 3420, 414, 18, 458, 12, 399, 31582, 16, 394, 3407, 12, 328, 6777, 262, 11272, 1082, 202, 759, 28332, 12786, 6469, 4928, 6953, 30293, 47, 1360, 7662, 1457, 57, 16715, 12786, 2438, 7509, 24870, 14073, 7128, 9749, 4830, 1082, 202, 1768, 2811, 273, 5003, 18, 588, 1768, 12, 11272, 1082, 202, 6385, 13864, 425, 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, 225, 202, 482, 727, 918, 1743, 12, 1635, 14049, 3420, 414, 16, 20382, 800, 262, 1082, 202, 15069, 14804, 503, 202, 95, 202, 202, 6385, 1250, 324, 3759, 382, 4021, 273, 261, 277, 6485, 1016, 422, 374, 11272, 202, 202, 6385, 1250, 324, 3024, 382, 4021, 273, 261, 277, 6485, 1016, 422, 277, 6485, 1380, 300, 404, 11272, 202, 202, 6385, 467, 3328, 14254, 273, 2989, 3328, 2828, 18, 1336, 12, 11272, 202, 202, 5748, 328, 6777, 273, 2332, 18, 2972, 28512, 12, 11272, 202, 202, 6385, 14804, 5003, 273, 7454, 12, 11272, 202, 202, 6385, 467, 3654, 6747, 612, 86, 273, 19512, 12, 11272, 202, 202, 6385, 7739, 1503, 699, 273, 336, 1997, 950, 1042, 12, 262, 18, 2 ]
puncString = "" + ANDseparator + ORseparator + getUnassignedSymbol() + getInapplicableSymbol();
puncString = "" + ANDseparator + ORseparator + getUnassignedSymbol() + getInapplicableSymbol();
public CategoricalData(CharMatrixManager manager, int numTaxa, int numChars, Taxa taxa){ super(manager, numTaxa, numChars, taxa); symbols = new char[] {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'j', 'k', 'm', 'n', 'p' , 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}; try { puncString = "" + ANDseparator + ORseparator + getUnassignedSymbol() + getInapplicableSymbol(); if (permitShortMatrices && CategoricalState.compressibleToShort(getDefaultState())) { matrixShort = new short[ numChars][numTaxa]; for (int it=0; it<numTaxa; it++) for (int ic=0; ic<numChars; ic++) matrixShort[ic][it] = CategoricalState.compressToShort(getDefaultState()); } else { matrix = new long[ numChars][numTaxa]; for (int it=0; it<numTaxa; it++) for (int ic=0; ic<numChars; ic++) matrix[ic][it] = getDefaultState(); } } catch (OutOfMemoryError e){ MesquiteMessage.warnProgrammer("Sorry, the Character Matrix could not be created because of lack of memory"); } }
55939 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55939/f13d81739af31354f83b14c9490772258666d61b/CategoricalData.java/clean/Source/mesquite/categ/lib/CategoricalData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 385, 14341, 751, 12, 2156, 4635, 1318, 3301, 16, 509, 818, 7731, 69, 16, 509, 818, 7803, 16, 18240, 69, 5320, 69, 15329, 202, 202, 9565, 12, 4181, 16, 818, 7731, 69, 16, 818, 7803, 16, 5320, 69, 1769, 202, 202, 15536, 273, 394, 1149, 8526, 13666, 20, 2187, 296, 21, 2187, 296, 22, 2187, 296, 23, 2187, 296, 24, 2187, 296, 25, 2187, 296, 26, 2187, 296, 27, 2187, 296, 28, 2187, 296, 29, 2187, 296, 37, 2187, 296, 38, 2187, 296, 39, 2187, 296, 40, 2187, 296, 41, 2187, 296, 42, 2187, 296, 43, 2187, 296, 44, 2187, 296, 46, 2187, 296, 47, 2187, 296, 49, 2187, 296, 50, 2187, 296, 52, 2187, 296, 53, 2187, 296, 54, 2187, 296, 55, 2187, 296, 56, 2187, 296, 57, 2187, 296, 58, 2187, 296, 59, 2187, 296, 60, 2187, 296, 61, 2187, 296, 62, 2187, 296, 69, 2187, 296, 70, 2187, 296, 71, 2187, 296, 72, 2187, 296, 73, 2187, 296, 74, 2187, 296, 75, 2187, 296, 76, 2187, 296, 78, 2187, 296, 79, 2187, 296, 81, 2187, 296, 82, 2187, 296, 84, 11, 269, 296, 85, 2187, 296, 86, 2187, 296, 87, 2187, 296, 88, 2187, 296, 89, 2187, 296, 90, 2187, 296, 91, 2187, 296, 92, 2187, 296, 93, 2187, 296, 94, 11, 20451, 202, 202, 698, 288, 202, 565, 202, 202, 84, 551, 780, 273, 1408, 397, 4116, 11287, 397, 4869, 11287, 397, 10833, 15938, 5335, 1435, 397, 7854, 438, 10120, 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, 385, 14341, 751, 12, 2156, 4635, 1318, 3301, 16, 509, 818, 7731, 69, 16, 509, 818, 7803, 16, 18240, 69, 5320, 69, 15329, 202, 202, 9565, 12, 4181, 16, 818, 7731, 69, 16, 818, 7803, 16, 5320, 69, 1769, 202, 202, 15536, 273, 394, 1149, 8526, 13666, 20, 2187, 296, 21, 2187, 296, 22, 2187, 296, 23, 2187, 296, 24, 2187, 296, 25, 2187, 296, 26, 2187, 296, 27, 2187, 296, 28, 2187, 296, 29, 2187, 296, 37, 2187, 296, 38, 2187, 296, 39, 2187, 296, 40, 2187, 296, 41, 2187, 296, 42, 2187, 296, 43, 2187, 296, 44, 2187, 296, 46, 2187, 296, 47, 2187, 296, 49, 2187, 296, 50, 2187, 296, 52, 2187, 296, 2 ]
testPdbFile = new File(testDirectory, "1crn.pdb"); FileUtilities .copyStreamToFile(getClass() .getResourceAsStream("Test-" + testPdbFile.getName()), testPdbFile); } catch (IOException ex) { fail(ex.toString()); } try { ChemObjectReader reader = new PDBReader(new FileInputStream(testPdbFile));
ChemObjectReader reader = new PDBReader(new InputStreamReader(ins));
public void testProtein() { File testPdbFile = null; try { testPdbFile = new File(testDirectory, "1crn.pdb"); FileUtilities .copyStreamToFile(getClass() .getResourceAsStream("Test-" + testPdbFile.getName()), testPdbFile); } catch (IOException ex) { fail(ex.toString()); } try { ChemObjectReader reader = new PDBReader(new FileInputStream(testPdbFile)); assertNotNull(reader); ChemFile chemFile = (ChemFile) reader.read(new ChemFile()); assertNotNull(chemFile); assertEquals(1, chemFile.getChemSequenceCount()); ChemSequence seq = chemFile.getChemSequence(0); assertNotNull(seq); assertEquals(1, seq.getChemModelCount()); ChemModel model = seq.getChemModel(0); assertNotNull(model); assertEquals(1, model.getSetOfMolecules().getMoleculeCount()); BioPolymer mol = (BioPolymer) model.getSetOfMolecules().getMolecule(0); assertNotNull(mol); assertEquals(327, mol.getAtomCount()); assertEquals(46, mol.getMonomerCount()); assertNotNull(mol.getMonomer("THR1")); assertEquals(7, mol.getMonomer("THR1").getAtomCount()); assertNotNull(mol.getMonomer("ILE7")); assertEquals(8, mol.getMonomer("ILE7").getAtomCount()); Atom atom = mol.getAtomAt(94); assertNotNull(atom); assertEquals("C", atom.getSymbol()); assertEquals(new Integer(95), atom.getProperty("pdb.serial")); assertEquals("CZ", atom.getProperty("pdb.name")); assertEquals("", atom.getProperty("pdb.altLoc")); assertEquals("PHE", atom.getProperty("pdb.resName")); assertEquals("", atom.getProperty("pdb.chainID")); assertEquals("13", atom.getProperty("pdb.resSeq")); assertEquals("", atom.getProperty("pdb.iCode")); assertEquals(1.0, ((Double) atom.getProperty("pdb.occupancy")).doubleValue(), 0.001); assertEquals(6.84, ((Double) atom.getProperty("pdb.tempFactor")).doubleValue(), 0.001); assertEquals(null, atom.getProperty("pdb.segID")); assertEquals(null, atom.getProperty("pdb.element")); assertEquals(null, atom.getProperty("pdb.charge")); } catch (Exception ex) { fail(ex.toString()); } }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/2c7c43d2f4308010328c092f9e157e53e6cab8b2/PDBReaderTest.java/buggy/src/org/openscience/cdk/test/io/PDBReaderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 626, 10297, 1435, 288, 565, 1387, 1842, 52, 1966, 812, 273, 446, 31, 565, 775, 288, 1377, 1842, 52, 1966, 812, 273, 394, 1387, 12, 3813, 2853, 16, 315, 21, 3353, 82, 18, 17414, 8863, 1377, 1387, 11864, 1850, 263, 3530, 1228, 15450, 12, 588, 797, 1435, 2868, 263, 588, 1420, 17052, 2932, 4709, 10951, 5375, 397, 1842, 52, 1966, 812, 18, 17994, 1435, 3631, 1842, 52, 1966, 812, 1769, 3639, 289, 1044, 261, 14106, 431, 13, 288, 1377, 2321, 12, 338, 18, 10492, 10663, 565, 289, 3639, 775, 288, 1377, 26542, 921, 2514, 2949, 273, 394, 21601, 2514, 12, 2704, 11907, 12, 3813, 52, 1966, 812, 10019, 1377, 25395, 12, 10530, 1769, 5411, 26542, 812, 19028, 812, 273, 261, 20200, 812, 13, 2949, 18, 896, 12, 2704, 26542, 812, 10663, 1377, 25395, 12, 1036, 812, 1769, 1377, 1815, 8867, 12, 21, 16, 19028, 812, 18, 588, 20200, 4021, 1380, 10663, 1377, 26542, 4021, 3833, 273, 19028, 812, 18, 588, 20200, 4021, 12, 20, 1769, 1377, 25395, 12, 5436, 1769, 1377, 1815, 8867, 12, 21, 16, 3833, 18, 588, 20200, 1488, 1380, 10663, 5411, 26542, 1488, 938, 273, 3833, 18, 588, 20200, 1488, 12, 20, 1769, 1377, 25395, 12, 2284, 1769, 1377, 1815, 8867, 12, 21, 16, 938, 18, 588, 694, 951, 49, 29466, 7675, 588, 29669, 1380, 10663, 1377, 21209, 5850, 17878, 12629, 273, 261, 38, 1594, 5850, 17878, 13, 938, 18, 588, 694, 951, 49, 29466, 7675, 588, 29669, 12, 20, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 626, 10297, 1435, 288, 565, 1387, 1842, 52, 1966, 812, 273, 446, 31, 565, 775, 288, 1377, 1842, 52, 1966, 812, 273, 394, 1387, 12, 3813, 2853, 16, 315, 21, 3353, 82, 18, 17414, 8863, 1377, 1387, 11864, 1850, 263, 3530, 1228, 15450, 12, 588, 797, 1435, 2868, 263, 588, 1420, 17052, 2932, 4709, 10951, 5375, 397, 1842, 52, 1966, 812, 18, 17994, 1435, 3631, 1842, 52, 1966, 812, 1769, 3639, 289, 1044, 261, 14106, 431, 13, 288, 1377, 2321, 12, 338, 18, 10492, 10663, 565, 289, 3639, 775, 288, 1377, 26542, 921, 2514, 2949, 273, 394, 21601, 2514, 12, 2704, 11907, 12, 3813, 52, 1966, 812, 10019, 1377, 25395, 12, 10530, 1769, 5411, 26542, 2 ]
groupPrimitive(pre, false);
ivRenderer.groupPrimitive(pre, false);
public void fillPolygon(PolygonRenderEvent pre) throws ChartException { groupPrimitive(pre, false); super.fillPolygon(pre); ungroupPrimitive(pre, false); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/2d20506054849c42d48678ae5d0e59f9c37d95e8/SVGRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3636, 11787, 12, 11787, 3420, 1133, 675, 13, 1216, 14804, 503, 288, 202, 202, 1655, 9840, 12, 1484, 16, 629, 1769, 202, 202, 9565, 18, 5935, 11787, 12, 1484, 1769, 202, 202, 318, 1655, 9840, 12, 1484, 16, 629, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3636, 11787, 12, 11787, 3420, 1133, 675, 13, 1216, 14804, 503, 288, 202, 202, 1655, 9840, 12, 1484, 16, 629, 1769, 202, 202, 9565, 18, 5935, 11787, 12, 1484, 1769, 202, 202, 318, 1655, 9840, 12, 1484, 16, 629, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return (modifiers & SYNTHETIC) != 0;
return (modifiers & ACC_SYNTHETIC) != 0;
public boolean isSynthetic() { return (modifiers & SYNTHETIC) != 0; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/3d00310d712d5d216f70da39fd52a8ce808e6137/VM_Method.java/buggy/rvm/src/vm/classLoader/VM_Method.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 353, 10503, 16466, 1435, 288, 565, 327, 261, 15432, 473, 18816, 67, 7474, 1784, 44, 1584, 2871, 13, 480, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 1250, 353, 10503, 16466, 1435, 288, 565, 327, 261, 15432, 473, 18816, 67, 7474, 1784, 44, 1584, 2871, 13, 480, 374, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
expectation2.needsMoreInvocations = false;
expectation2.isSatisfied = true;
public void testIsSatisfiedWhenAllMembersHaveBeenSatisfied() throws Throwable { expectation1.matches = true; group.invoke(invocation); assertTrue("group is not satisfied", group.needsMoreInvocations()); expectation1.matches = false; expectation1.needsMoreInvocations = false; expectation2.matches = true; group.invoke(invocation); assertTrue("group is not satisfied", group.needsMoreInvocations()); expectation2.matches = false; expectation2.needsMoreInvocations = false; expectation3.matches = true; group.invoke(invocation); assertTrue("group is not satisfied", group.needsMoreInvocations()); expectation3.matches = false; expectation3.needsMoreInvocations = false; expectation4.matches = true; group.invoke(invocation); assertTrue("group is not satisfied", group.needsMoreInvocations()); expectation4.needsMoreInvocations = false; assertTrue("group is satisfied", !group.needsMoreInvocations()); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/010013813a0e057e0715a4d31490eefcfa353062/OrderedExpectationGroupTests.java/clean/jmock2/test/org/jmock/test/unit/lib/OrderedExpectationGroupTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2520, 15163, 21501, 9434, 1595, 6918, 17944, 25931, 15163, 21501, 1435, 1216, 4206, 288, 3639, 17733, 21, 18, 8436, 273, 638, 31, 7734, 1041, 18, 14407, 12, 5768, 4431, 1769, 3639, 1815, 5510, 2932, 1655, 353, 486, 18958, 3113, 1041, 18, 20600, 7417, 3605, 17448, 10663, 7734, 17733, 21, 18, 8436, 273, 629, 31, 3639, 17733, 21, 18, 20600, 7417, 3605, 17448, 273, 629, 31, 3639, 17733, 22, 18, 8436, 273, 638, 31, 7734, 1041, 18, 14407, 12, 5768, 4431, 1769, 3639, 1815, 5510, 2932, 1655, 353, 486, 18958, 3113, 1041, 18, 20600, 7417, 3605, 17448, 10663, 7734, 17733, 22, 18, 8436, 273, 629, 31, 3639, 17733, 22, 18, 291, 15163, 21501, 273, 638, 31, 3639, 17733, 23, 18, 8436, 273, 638, 31, 7734, 1041, 18, 14407, 12, 5768, 4431, 1769, 3639, 1815, 5510, 2932, 1655, 353, 486, 18958, 3113, 1041, 18, 20600, 7417, 3605, 17448, 10663, 3639, 17733, 23, 18, 8436, 273, 629, 31, 3639, 17733, 23, 18, 20600, 7417, 3605, 17448, 273, 629, 31, 3639, 17733, 24, 18, 8436, 273, 638, 31, 7734, 1041, 18, 14407, 12, 5768, 4431, 1769, 3639, 1815, 5510, 2932, 1655, 353, 486, 18958, 3113, 1041, 18, 20600, 7417, 3605, 17448, 10663, 7734, 17733, 24, 18, 20600, 7417, 3605, 17448, 273, 629, 31, 3639, 1815, 5510, 2932, 1655, 353, 18958, 3113, 401, 1655, 18, 20600, 7417, 3605, 17448, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2520, 15163, 21501, 9434, 1595, 6918, 17944, 25931, 15163, 21501, 1435, 1216, 4206, 288, 3639, 17733, 21, 18, 8436, 273, 638, 31, 7734, 1041, 18, 14407, 12, 5768, 4431, 1769, 3639, 1815, 5510, 2932, 1655, 353, 486, 18958, 3113, 1041, 18, 20600, 7417, 3605, 17448, 10663, 7734, 17733, 21, 18, 8436, 273, 629, 31, 3639, 17733, 21, 18, 20600, 7417, 3605, 17448, 273, 629, 31, 3639, 17733, 22, 18, 8436, 273, 638, 31, 7734, 1041, 18, 14407, 12, 5768, 4431, 1769, 3639, 1815, 5510, 2932, 1655, 353, 486, 18958, 3113, 1041, 18, 20600, 7417, 3605, 17448, 10663, 7734, 17733, 22, 18, 8436, 273, 629, 31, 3639, 17733, 22, 18, 291, 15163, 21501, 273, 638, 31, 2 ]
public void processingInstruction(String target, String data)
public void processingInstruction(final String target, final String data)
public void processingInstruction(String target, String data) throws SAXException { }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/bfbb9e2a2e54bf7040308f5f0b4fd744c80370c8/HTMLParser.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/HTMLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 4929, 11983, 12, 6385, 514, 1018, 16, 727, 514, 501, 13, 7734, 1216, 14366, 288, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 4929, 11983, 12, 6385, 514, 1018, 16, 727, 514, 501, 13, 7734, 1216, 14366, 288, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
SAMLSubject subject = new SAMLSubject(subjectNameId, Arrays.asList(confirmationMethods), null, null);
Element keyInfoElem = null; if(keyInfoContent != null) { keyInfoElem = doc.createElementNS(WSConstants.SIG_NS, "KeyInfo"); ((OMElement)keyInfoContent).declareNamespace(WSConstants.SIG_NS, WSConstants.SIG_PREFIX); ((OMElement)keyInfoContent).declareNamespace(WSConstants.ENC_NS, WSConstants.ENC_PREFIX); keyInfoElem.appendChild(keyInfoContent); } SAMLSubject subject = new SAMLSubject(subjectNameId, Arrays.asList(confirmationMethods), null, keyInfoElem);
private SAMLAssertion createAuthAssertion(String confMethod, SAMLNameIdentifier subjectNameId, SAMLTokenIssuerConfig config, Crypto crypto, Date notBefore, Date notAfter) throws TrustException { try { String[] confirmationMethods = new String[]{confMethod}; SAMLSubject subject = new SAMLSubject(subjectNameId, Arrays.asList(confirmationMethods), null, null); SAMLAuthenticationStatement authStmt = new SAMLAuthenticationStatement( subject, SAMLAuthenticationStatement.AuthenticationMethod_Password, notBefore, null, null, null); SAMLStatement[] statements = {authStmt}; SAMLAssertion assertion = new SAMLAssertion(config.issuerName, notBefore, notAfter, null, null, Arrays.asList(statements)); //sign the assertion X509Certificate[] issuerCerts = crypto.getCertificates(config.issuerKeyAlias); String sigAlgo = XMLSignature.ALGO_ID_SIGNATURE_RSA; String pubKeyAlgo = issuerCerts[0].getPublicKey().getAlgorithm(); if (pubKeyAlgo.equalsIgnoreCase("DSA")) { sigAlgo = XMLSignature.ALGO_ID_SIGNATURE_DSA; } java.security.Key issuerPK = crypto.getPrivateKey(config.issuerKeyAlias, config.issuerKeyPassword); assertion.sign(sigAlgo, issuerPK, Arrays.asList(issuerCerts)); return assertion; } catch (Exception e) { throw new TrustException("samlAssertionCreationError", e); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/5203840ede53c3b77f2e490250f6d0fbc377182d/SAMLTokenIssuer.java/buggy/modules/rahas/src/org/apache/rahas/impl/SAMLTokenIssuer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 21030, 14979, 752, 1730, 14979, 12, 780, 2195, 1305, 16, 5411, 21030, 461, 3004, 3221, 461, 548, 16, 21030, 1345, 16667, 809, 642, 16, 5411, 15629, 8170, 16, 2167, 486, 4649, 16, 2167, 486, 4436, 13, 1216, 20246, 503, 288, 3639, 775, 288, 5411, 514, 8526, 14296, 4712, 273, 394, 514, 63, 7073, 3923, 1305, 20451, 13491, 3010, 498, 966, 7498, 273, 446, 31, 309, 12, 856, 966, 1350, 480, 446, 13, 288, 498, 966, 7498, 273, 997, 18, 2640, 1046, 3156, 12, 2651, 2918, 18, 18513, 67, 3156, 16, 315, 653, 966, 8863, 14015, 51, 12310, 13, 856, 966, 1350, 2934, 29554, 3402, 12, 2651, 2918, 18, 18513, 67, 3156, 16, 7649, 2918, 18, 18513, 67, 6307, 1769, 14015, 51, 12310, 13, 856, 966, 1350, 2934, 29554, 3402, 12, 2651, 2918, 18, 30445, 67, 3156, 16, 7649, 2918, 18, 30445, 67, 6307, 1769, 225, 498, 966, 7498, 18, 6923, 1763, 12, 856, 966, 1350, 1769, 289, 225, 21030, 6638, 3221, 273, 394, 21030, 6638, 12, 7857, 461, 548, 16, 5647, 18, 345, 682, 12, 22275, 4712, 3631, 446, 16, 498, 966, 7498, 1769, 13491, 21030, 6492, 3406, 1357, 8952, 273, 394, 21030, 6492, 3406, 12, 10792, 3221, 16, 10792, 21030, 6492, 3406, 18, 6492, 1305, 67, 3913, 16, 10792, 486, 4649, 16, 446, 16, 446, 16, 446, 1769, 5411, 21030, 3406, 8526, 6317, 273, 288, 1944, 8952, 20451, 13491, 21030, 14979, 11240, 273, 394, 21030, 14979, 12, 1425, 18, 17567, 461, 16, 486, 4649, 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, 21030, 14979, 752, 1730, 14979, 12, 780, 2195, 1305, 16, 5411, 21030, 461, 3004, 3221, 461, 548, 16, 21030, 1345, 16667, 809, 642, 16, 5411, 15629, 8170, 16, 2167, 486, 4649, 16, 2167, 486, 4436, 13, 1216, 20246, 503, 288, 3639, 775, 288, 5411, 514, 8526, 14296, 4712, 273, 394, 514, 63, 7073, 3923, 1305, 20451, 13491, 3010, 498, 966, 7498, 273, 446, 31, 309, 12, 856, 966, 1350, 480, 446, 13, 288, 498, 966, 7498, 273, 997, 18, 2640, 1046, 3156, 12, 2651, 2918, 18, 18513, 67, 3156, 16, 315, 653, 966, 8863, 14015, 51, 12310, 13, 856, 966, 1350, 2934, 29554, 3402, 12, 2651, 2918, 18, 18513, 67, 3156, 16, 7649, 2918, 18, 18513, 67, 2 ]
protected ObservableList(Realm realm, List wrappedList, Object elementType) { super(realm); this.wrappedList = wrappedList; this.elementType = elementType;
protected ObservableList(List wrappedList, Object elementType) { this(Realm.getDefault(), wrappedList, elementType);
protected ObservableList(Realm realm, List wrappedList, Object elementType) { super(realm); this.wrappedList = wrappedList; this.elementType = elementType; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/8d526c66443a00f1d390d1ba70af697ea08606b2/ObservableList.java/buggy/bundles/org.eclipse.core.databinding.observable/src/org/eclipse/core/databinding/observable/list/ObservableList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4310, 682, 12, 22545, 11319, 16, 987, 5805, 682, 16, 1033, 21427, 13, 288, 202, 202, 9565, 12, 24056, 1769, 202, 202, 2211, 18, 18704, 682, 273, 5805, 682, 31, 202, 202, 2211, 18, 2956, 559, 273, 21427, 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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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, 225, 202, 1117, 4310, 682, 12, 22545, 11319, 16, 987, 5805, 682, 16, 1033, 21427, 13, 288, 202, 202, 9565, 12, 24056, 1769, 202, 202, 2211, 18, 18704, 682, 273, 5805, 682, 31, 202, 202, 2211, 18, 2956, 559, 273, 21427, 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 ]
final TableCellEditor editor = table.getCellEditor();
final TableCellEditor editor = table.getCellEditor();
public void actionPerformed(ActionEvent e){ final int listSize; synchronized(lock){ listSize = callsToCheck.size(); callsToCheck.add(new ReturnCheckSpecification()); } model.fireTableStructureChanged(); EventQueue.invokeLater(new Runnable() { public void run() { final Rectangle rect = table.getCellRect(listSize, 0, true); table.scrollRectToVisible(rect); table.editCellAt(listSize, 0); final TableCellEditor editor = table.getCellEditor(); final Component component = editor.getTableCellEditorComponent(table, null, true, listSize, 0); component.requestFocus(); } }); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/0c22d3bce35a1ee7d70c329328f649614cf6f21a/IgnoreResultOfCallInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/bugs/IgnoreResultOfCallInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 26100, 12, 1803, 1133, 425, 15329, 10792, 727, 509, 666, 1225, 31, 10792, 3852, 12, 739, 15329, 13491, 666, 1225, 273, 4097, 18126, 18, 1467, 5621, 13491, 4097, 18126, 18, 1289, 12, 2704, 2000, 1564, 8615, 10663, 10792, 289, 10792, 938, 18, 12179, 1388, 6999, 5033, 5621, 10792, 2587, 3183, 18, 14407, 20607, 12, 2704, 10254, 1435, 288, 13491, 1071, 918, 1086, 1435, 288, 18701, 727, 13264, 4917, 273, 1014, 18, 588, 4020, 6120, 12, 1098, 1225, 16, 374, 16, 638, 1769, 18701, 1014, 18, 12033, 6120, 774, 6207, 12, 2607, 1769, 18701, 1014, 18, 4619, 4020, 861, 12, 1098, 1225, 16, 374, 1769, 18701, 727, 3555, 4020, 6946, 4858, 273, 1014, 18, 588, 4020, 6946, 5621, 18701, 727, 5435, 1794, 273, 4766, 565, 4858, 18, 588, 1388, 4020, 6946, 1841, 12, 2121, 16, 446, 16, 638, 16, 666, 1225, 16, 374, 1769, 18701, 1794, 18, 2293, 9233, 5621, 7734, 289, 5411, 15549, 7734, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 26100, 12, 1803, 1133, 425, 15329, 10792, 727, 509, 666, 1225, 31, 10792, 3852, 12, 739, 15329, 13491, 666, 1225, 273, 4097, 18126, 18, 1467, 5621, 13491, 4097, 18126, 18, 1289, 12, 2704, 2000, 1564, 8615, 10663, 10792, 289, 10792, 938, 18, 12179, 1388, 6999, 5033, 5621, 10792, 2587, 3183, 18, 14407, 20607, 12, 2704, 10254, 1435, 288, 13491, 1071, 918, 1086, 1435, 288, 18701, 727, 13264, 4917, 273, 1014, 18, 588, 4020, 6120, 12, 1098, 1225, 16, 374, 16, 638, 1769, 18701, 1014, 18, 12033, 6120, 774, 6207, 12, 2607, 1769, 18701, 1014, 18, 4619, 4020, 861, 12, 1098, 1225, 16, 374, 1769, 18701, 727, 3555, 4020, 6946, 4858, 273, 1014, 18, 588, 4020, 6946, 2 ]
Enumeration paramNames = req.getParameterNames(); while (paramNames != null && paramNames.hasMoreElements()) { String param = paramNames.nextElement().toString(); if (param != null) { String values[] = req.getParameterValues(param); for (int i=0; i < values.length; i++) { String value = URLEncoder.encode(values[i], parameterEncoding); NameValuePair nvp = new NameValuePair(param, value); queryParameters.add(nvp); } } }
protected CGIEnvironment(HttpServletRequest req, ServletContext context) throws IOException { setupFromContext(context); setupFromRequest(req); Enumeration paramNames = req.getParameterNames(); while (paramNames != null && paramNames.hasMoreElements()) { String param = paramNames.nextElement().toString(); if (param != null) { String values[] = req.getParameterValues(param); for (int i=0; i < values.length; i++) { String value = URLEncoder.encode(values[i], parameterEncoding); NameValuePair nvp = new NameValuePair(param, value); queryParameters.add(nvp); } } } this.valid = setCGIEnvironment(req); if (this.valid) { workingDirectory = new File(command.substring(0, command.lastIndexOf(File.separator))); } }
48155 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48155/34601668ef04ac05695a8b145daf5444194948b7/CGIServlet.java/clean/java/org/apache/catalina/servlets/CGIServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 385, 13797, 5494, 12, 2940, 18572, 1111, 16, 4766, 22717, 819, 13, 1216, 1860, 288, 5411, 3875, 20128, 12, 2472, 1769, 5411, 3875, 25074, 12, 3658, 1769, 5411, 13864, 579, 1557, 273, 1111, 18, 588, 1662, 1557, 5621, 5411, 1323, 261, 891, 1557, 480, 446, 597, 579, 1557, 18, 5332, 7417, 3471, 10756, 288, 7734, 514, 579, 273, 579, 1557, 18, 4285, 1046, 7675, 10492, 5621, 7734, 309, 261, 891, 480, 446, 13, 288, 10792, 514, 924, 8526, 273, 1111, 18, 588, 1662, 1972, 12, 891, 1769, 10792, 364, 261, 474, 277, 33, 20, 31, 277, 411, 924, 18, 2469, 31, 277, 27245, 288, 13491, 514, 460, 273, 1976, 7204, 18, 3015, 12, 2372, 63, 77, 6487, 4766, 7682, 1569, 4705, 1769, 13491, 1770, 20337, 8779, 84, 273, 394, 1770, 20337, 12, 891, 16, 460, 1769, 13491, 31485, 18, 1289, 12, 16588, 84, 1769, 10792, 289, 7734, 289, 5411, 289, 5411, 333, 18, 877, 273, 11440, 13797, 5494, 12, 3658, 1769, 5411, 309, 261, 2211, 18, 877, 13, 288, 7734, 5960, 2853, 273, 394, 1387, 12, 3076, 18, 28023, 12, 20, 16, 8227, 1296, 18, 2722, 31985, 12, 812, 18, 11287, 3719, 1769, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 385, 13797, 5494, 12, 2940, 18572, 1111, 16, 4766, 22717, 819, 13, 1216, 1860, 288, 5411, 3875, 20128, 12, 2472, 1769, 5411, 3875, 25074, 12, 3658, 1769, 5411, 13864, 579, 1557, 273, 1111, 18, 588, 1662, 1557, 5621, 5411, 1323, 261, 891, 1557, 480, 446, 597, 579, 1557, 18, 5332, 7417, 3471, 10756, 288, 7734, 514, 579, 273, 579, 1557, 18, 4285, 1046, 7675, 10492, 5621, 7734, 309, 261, 891, 480, 446, 13, 288, 10792, 514, 924, 8526, 273, 1111, 18, 588, 1662, 1972, 12, 891, 1769, 10792, 364, 261, 474, 277, 33, 20, 31, 277, 411, 924, 18, 2469, 31, 277, 27245, 288, 13491, 514, 460, 273, 1976, 7204, 18, 3015, 12, 2372, 63, 77, 6487, 2 ]
public MultiLineTextFieldEditor(String name, String labelText, Composite parent) { this(name, labelText, UNLIMITED, parent);
protected MultiLineTextFieldEditor() {
public MultiLineTextFieldEditor(String name, String labelText, Composite parent) { this(name, labelText, UNLIMITED, parent); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/612551d59c19478ba33203c55a27f185410404a1/MultiLineTextFieldEditor.java/buggy/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/MultiLineTextFieldEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5991, 1670, 16157, 6946, 12, 780, 508, 16, 514, 1433, 1528, 16, 14728, 982, 13, 288, 9506, 202, 2211, 12, 529, 16, 1433, 1528, 16, 5019, 8283, 2056, 16, 982, 1769, 202, 97, 2, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5991, 1670, 16157, 6946, 12, 780, 508, 16, 514, 1433, 1528, 16, 14728, 982, 13, 288, 9506, 202, 2211, 12, 529, 16, 1433, 1528, 16, 5019, 8283, 2056, 16, 982, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
bootImage.setAddressWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS),
bootImage.setAddressWord(arrayImageOffset.add(i << LOG_BYTES_IN_ADDRESS),
private static int copyToBootImage(Object jdkObject, boolean allocOnly, int overwriteOffset, Object parentObject) throws IllegalAccessException { // // Return object if it is already copied and not being overwritten // BootImageMap.Entry mapEntry = BootImageMap.findOrCreateEntry(jdkObject); if (mapEntry.imageOffset != OBJECT_NOT_ALLOCATED && overwriteOffset == -1) return mapEntry.imageOffset; if (verbose >= 2) depth++; // // fetch object's type information // Class jdkType = jdkObject.getClass(); VM_Type rvmType = getRvmType(jdkType); if (rvmType == null) { if (verbose >= 2) traverseObject(jdkObject); if (verbose >= 2) depth--; return OBJECT_NOT_PRESENT; // object not part of bootimage } // // copy object to image // if (jdkType.isArray()) { VM_Array rvmArrayType = rvmType.asArray(); // // allocate space in image // int arrayCount = Array.getLength(jdkObject); int arrayImageOffset = (overwriteOffset == -1) ? bootImage.allocateArray(rvmArrayType, arrayCount) : overwriteOffset; mapEntry.imageOffset = arrayImageOffset; if (verbose >= 2) { if (depth == depthCutoff) say(SPACES.substring(0,depth+1), "TOO DEEP: cutting off"); else if (depth < depthCutoff) { String tab = SPACES.substring(0,depth+1); if (depth == 0 && jtocCount >= 0) tab = tab + "jtoc #" + String.valueOf(jtocCount) + ": "; int arraySize = rvmArrayType.getInstanceSize(arrayCount); say(tab, "Copying array ", jdkType.getName(), " length=", String.valueOf(arrayCount), (arraySize >= LARGE_ARRAY_SIZE) ? " large object!!!" : ""); } } VM_Type rvmElementType = rvmArrayType.getElementType(); // Show info on reachability of int arrays // if (false && rvmElementType.equals(VM_Type.IntType)) { if (parentObject != null) { Class parentObjectType = parentObject.getClass(); VM.sysWrite("Copying int array (", 4 * ((int []) jdkObject).length); VM.sysWriteln(" bytes) from parent object of type ", parentObjectType.toString()); } else { VM.sysWriteln("Copying int array from no parent object"); } } // // copy array elements from host jdk address space into image // recurse on values that are references // if (rvmElementType.isPrimitiveType()) { // array element is logical or numeric type if (rvmElementType.equals(VM_Type.BooleanType)) { boolean values[] = (boolean[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setByte(arrayImageOffset + i, values[i] ? 1 : 0); } else if (rvmElementType.equals(VM_Type.ByteType)) { byte values[] = (byte[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setByte(arrayImageOffset + i, values[i]); } else if (rvmElementType.equals(VM_Type.CharType)) { char values[] = (char[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setHalfWord(arrayImageOffset + (i << LOG_BYTES_IN_CHAR), values[i]); } else if (rvmElementType.equals(VM_Type.ShortType)) { short values[] = (short[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setHalfWord(arrayImageOffset + (i << LOG_BYTES_IN_SHORT), values[i]); } else if (rvmElementType.equals(VM_Type.IntType)) { int values[] = (int[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setFullWord(arrayImageOffset + (i << LOG_BYTES_IN_INT), values[i]); } else if (rvmElementType.equals(VM_Type.LongType)) { long values[] = (long[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setDoubleWord(arrayImageOffset + (i << LOG_BYTES_IN_LONG), values[i]); } else if (rvmElementType.equals(VM_Type.FloatType)) { float values[] = (float[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setFullWord(arrayImageOffset + (i << LOG_BYTES_IN_FLOAT), Float.floatToIntBits(values[i])); } else if (rvmElementType.equals(VM_Type.DoubleType)) { double values[] = (double[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setDoubleWord(arrayImageOffset + (i << LOG_BYTES_IN_DOUBLE), Double.doubleToLongBits(values[i])); } else fail("unexpected primitive array type: " + rvmArrayType); } else { // array element is reference type Object values[] = (Object []) jdkObject; Class jdkClass = jdkObject.getClass(); if (!allocOnly) { for (int i = 0; i<arrayCount; ++i) { if (values[i] != null) { if (verbose >= 2) traceContext.push(values[i].getClass().getName(), jdkClass.getName(), i); int imageOffset = copyToBootImage(values[i], allocOnly, -1, jdkObject); if (imageOffset == OBJECT_NOT_PRESENT) { // object not part of bootimage: install null reference if (verbose >= 2) traceContext.traceObjectNotInBootImage(); bootImage.setNullAddressWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS)); } else { bootImage.setAddressWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS), bootImageAddress.add(imageOffset).toWord()); } if (verbose >= 2) traceContext.pop(); } } } } } else { if (rvmType == VM_Type.AddressArrayType) { if (verbose >= 2) depth--; AddressArray addrArray = (AddressArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.ObjectReferenceArrayType) { if (verbose >= 2) depth--; ObjectReferenceArray orArray = (ObjectReferenceArray) jdkObject; Object backing = orArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.OffsetArrayType) { if (verbose >= 2) depth--; OffsetArray addrArray = (OffsetArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.WordArrayType) { if (verbose >= 2) depth--; WordArray addrArray = (WordArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.ExtentArrayType) { if (verbose >= 2) depth--; ExtentArray addrArray = (ExtentArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.CodeArrayType) { if (verbose >= 2) depth--; VM_CodeArray codeArray = (VM_CodeArray) jdkObject; Object backing = codeArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType.isMagicType()) { VM.sysWriteln("Unhandled copying of magic type: " + rvmType.getDescriptor().toString()); VM.sysFail("incomplete boot image support"); } // // allocate space in image // VM_Class rvmScalarType = rvmType.asClass(); int scalarImageOffset = (overwriteOffset == -1) ? bootImage.allocateScalar(rvmScalarType) : overwriteOffset; mapEntry.imageOffset = scalarImageOffset; if (verbose >= 2) { if (depth == depthCutoff) say(SPACES.substring(0,depth+1), "TOO DEEP: cutting off"); else if (depth < depthCutoff) { String tab = SPACES.substring(0,depth+1); if (depth == 0 && jtocCount >= 0) tab = tab + "jtoc #" + String.valueOf(jtocCount) + " "; int scalarSize = rvmScalarType.getInstanceSize(); say(tab, "Copying object ", jdkType.getName(), " size=", String.valueOf(scalarSize), (scalarSize >= LARGE_SCALAR_SIZE) ? " large object!!!" : ""); } } // // copy object fields from host jdk address space into image // recurse on values that are references // VM_Field[] rvmFields = rvmScalarType.getInstanceFields(); for (int i = 0, n = rvmFields.length; i < n; ++i) { VM_Field rvmField = rvmFields[i]; VM_TypeReference rvmFieldType = rvmField.getType(); int rvmFieldOffset = scalarImageOffset + rvmField.getOffsetAsInt(); String rvmFieldName = rvmField.getName().toString(); Field jdkFieldAcc = getJdkFieldAccessor(jdkType, i, INSTANCE_FIELD); if (jdkFieldAcc == null) { if (verbose >= 2) traceContext.push(rvmFieldType.toString(), jdkType.getName(), rvmFieldName); if (verbose >= 2) traceContext.traceFieldNotInHostJdk(); if (verbose >= 2) traceContext.pop(); if (rvmFieldType.isPrimitiveType()) switch (rvmField.getType().getSize()) { case 4: bootImage.setFullWord(rvmFieldOffset, 0); break; case 8: bootImage.setDoubleWord(rvmFieldOffset, 0L); break; default:fail("unexpected field type: " + rvmFieldType); break; } else bootImage.setNullAddressWord(rvmFieldOffset); continue; } if (rvmFieldType.isPrimitiveType()) { // field is logical or numeric type if (rvmFieldType.isBooleanType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getBoolean(jdkObject) ? 1 : 0); } else if (rvmFieldType.isByteType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getByte(jdkObject)); } else if (rvmFieldType.isCharType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getChar(jdkObject)); } else if (rvmFieldType.isShortType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getShort(jdkObject)); } else if (rvmFieldType.isIntType()) { try { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getInt(jdkObject)); } catch (IllegalArgumentException ex) { System.err.println( "type " + rvmScalarType + ", field " + rvmField); throw ex; } } else if (rvmFieldType.isLongType()) { bootImage.setDoubleWord(rvmFieldOffset, jdkFieldAcc.getLong(jdkObject)); } else if (rvmFieldType.isFloatType()) { float f = jdkFieldAcc.getFloat(jdkObject); bootImage.setFullWord(rvmFieldOffset, Float.floatToIntBits(f)); } else if (rvmFieldType.isDoubleType()) { double d = jdkFieldAcc.getDouble(jdkObject); bootImage.setDoubleWord(rvmFieldOffset, Double.doubleToLongBits(d)); } else if (rvmFieldType.equals(VM_TypeReference.Address) || rvmFieldType.equals(VM_TypeReference.Word) || rvmFieldType.equals(VM_TypeReference.Extent) || rvmFieldType.equals(VM_TypeReference.Offset)) { Object o = jdkFieldAcc.get(jdkObject); String msg = " instance field " + rvmField.toString(); boolean warn = rvmFieldType.equals(VM_TypeReference.Address); bootImage.setAddressWord(rvmFieldOffset, getWordValue(o, msg, warn)); } else { fail("unexpected primitive field type: " + rvmFieldType); } } else { // field is reference type Object value = jdkFieldAcc.get(jdkObject); if (!allocOnly && value != null) { Class jdkClass = jdkFieldAcc.getDeclaringClass(); if (verbose >= 2) traceContext.push(value.getClass().getName(), jdkClass.getName(), jdkFieldAcc.getName()); int imageOffset = copyToBootImage(value, allocOnly, -1, jdkObject); if (imageOffset == OBJECT_NOT_PRESENT) { // object not part of bootimage: install null reference if (verbose >= 2) traceContext.traceObjectNotInBootImage(); bootImage.setNullAddressWord(rvmFieldOffset); } else bootImage.setAddressWord(rvmFieldOffset, bootImageAddress.add(imageOffset).toWord()); if (verbose >= 2) traceContext.pop(); } } } } // // copy object's type information block into image, if it's not there // already // if (!allocOnly) { if (verbose >= 2) traceContext.push("", jdkObject.getClass().getName(), "tib"); int tibImageOffset = copyToBootImage(rvmType.getTypeInformationBlock(), allocOnly, -1, jdkObject); if (verbose >= 2) traceContext.pop(); if (tibImageOffset == OBJECT_NOT_ALLOCATED) fail("can't copy tib for " + jdkObject); Address tibAddress = bootImageAddress.add(tibImageOffset); VM_ObjectModel.setTIB(bootImage, mapEntry.imageOffset, tibAddress, rvmType); } if (verbose >= 2) depth--; return mapEntry.imageOffset; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/512b7ae853c6979c3f6acf302871ef9527123d44/BootImageWriter.java/buggy/rvm/src/tools/bootImageWriter/BootImageWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 509, 29817, 15817, 2040, 12, 921, 525, 2883, 921, 16, 4766, 1377, 1250, 4767, 3386, 16, 509, 6156, 2335, 16, 4766, 1377, 1033, 982, 921, 13, 565, 1216, 11900, 565, 288, 1377, 368, 1377, 368, 2000, 733, 309, 518, 353, 1818, 9268, 471, 486, 3832, 15345, 1377, 368, 1377, 26254, 2040, 863, 18, 1622, 852, 1622, 273, 26254, 2040, 863, 18, 4720, 17717, 1622, 12, 78, 2883, 921, 1769, 1377, 309, 261, 1458, 1622, 18, 2730, 2335, 480, 12166, 67, 4400, 67, 1013, 1502, 13890, 597, 6156, 2335, 422, 300, 21, 13, 3639, 327, 852, 1622, 18, 2730, 2335, 31, 1377, 309, 261, 11369, 1545, 576, 13, 3598, 9904, 31, 1377, 368, 1377, 368, 2158, 733, 1807, 618, 1779, 1377, 368, 1377, 1659, 282, 525, 2883, 559, 273, 525, 2883, 921, 18, 588, 797, 5621, 1377, 8251, 67, 559, 436, 3489, 559, 273, 4170, 3489, 559, 12, 78, 2883, 559, 1769, 1377, 309, 261, 86, 3489, 559, 422, 446, 13, 288, 3639, 309, 261, 11369, 1545, 576, 13, 10080, 921, 12, 78, 2883, 921, 1769, 3639, 309, 261, 11369, 1545, 576, 13, 3598, 413, 31, 3639, 327, 12166, 67, 4400, 67, 3670, 17418, 31, 368, 733, 486, 1087, 434, 4835, 2730, 1377, 289, 1377, 368, 1377, 368, 1610, 733, 358, 1316, 1377, 368, 1377, 309, 261, 78, 2883, 559, 18, 291, 1076, 10756, 288, 3639, 8251, 67, 1076, 436, 3489, 27182, 273, 436, 3489, 559, 18, 345, 1076, 5621, 3639, 368, 3639, 368, 10101, 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, 760, 509, 29817, 15817, 2040, 12, 921, 525, 2883, 921, 16, 4766, 1377, 1250, 4767, 3386, 16, 509, 6156, 2335, 16, 4766, 1377, 1033, 982, 921, 13, 565, 1216, 11900, 565, 288, 1377, 368, 1377, 368, 2000, 733, 309, 518, 353, 1818, 9268, 471, 486, 3832, 15345, 1377, 368, 1377, 26254, 2040, 863, 18, 1622, 852, 1622, 273, 26254, 2040, 863, 18, 4720, 17717, 1622, 12, 78, 2883, 921, 1769, 1377, 309, 261, 1458, 1622, 18, 2730, 2335, 480, 12166, 67, 4400, 67, 1013, 1502, 13890, 597, 6156, 2335, 422, 300, 21, 13, 3639, 327, 852, 1622, 18, 2730, 2335, 31, 1377, 309, 261, 11369, 1545, 576, 13, 3598, 9904, 31, 1377, 368, 1377, 368, 2158, 733, 2 ]
if (selectedItem != null && (dataModel instanceof DefaultComboBoxModel)) return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem);
if (selectedItem != null) { if(dataModel instanceof DefaultComboBoxModel) { return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); } else { int size = dataModel.getSize(); for(int i=0; i < size; i++) { Object o = dataModel.getElementAt(i); if((selectedItem != null) ? selectedItem.equals(o) : o == null) { return i; } } } }
public int getSelectedIndex() { Object selectedItem = getSelectedItem(); if (selectedItem != null && (dataModel instanceof DefaultComboBoxModel)) return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); return -1; }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/afd5c0ff01c2742fd202b8024455897d82c40368/JComboBox.java/clean/javax/swing/JComboBox.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 16625, 1016, 1435, 225, 288, 565, 1033, 3170, 1180, 273, 16625, 1180, 5621, 565, 309, 261, 8109, 1180, 480, 446, 597, 261, 892, 1488, 1276, 2989, 22199, 1488, 3719, 1377, 327, 14015, 1868, 22199, 1488, 13, 27600, 2934, 588, 31985, 12, 8109, 1180, 1769, 565, 327, 300, 21, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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, 282, 1071, 509, 16625, 1016, 1435, 225, 288, 565, 1033, 3170, 1180, 273, 16625, 1180, 5621, 565, 309, 261, 8109, 1180, 480, 446, 597, 261, 892, 1488, 1276, 2989, 22199, 1488, 3719, 1377, 327, 14015, 1868, 22199, 1488, 13, 27600, 2934, 588, 31985, 12, 8109, 1180, 1769, 565, 327, 300, 21, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
currentText = null; needNewTextChunk = true;
protected void startElement(String name, Attributes attrib) throws SWFWriterException { String tmp; // Initialize state data textChunks.clear(); hasLayout = false; leftMargin = 0; rightMargin = 0; indent = 0; lineSpacing = 0; nextFont = DEFAULT_FONT; nextFontSize = 240; nextAlign = SWFDefineTextField.ALIGN_LEFT; nextColor = DEFAULT_COLOR; alpha = 0xFF; currentText = null; needNewTextChunk = true; try { tmp = attrib.getValue("", "id"); if (tmp != null) id = Integer.parseInt(tmp); tmp = attrib.getValue("", "name"); if (tmp != null) varName = tmp; else varName = ""; try { bounds = new SWFRectangle( Integer.parseInt(attrib.getValue("", "xmin")), Integer.parseInt(attrib.getValue("", "xmax")), Integer.parseInt(attrib.getValue("", "ymin")), Integer.parseInt(attrib.getValue("", "ymax"))); } catch (Exception e) { fatalError("Text bounds must be specified"); } tmp = attrib.getValue("", "alpha"); if (tmp!=null) alpha = Integer.parseInt(tmp.substring(1,3), 16); // Convert layout values to "TWIPS" by multiplying with twenty tmp = attrib.getValue("", "indent"); if (tmp!=null) { hasLayout = true; indent = Math.round(Float.parseFloat(tmp) * 20.0F); } tmp = attrib.getValue("", "leftmargin"); if (tmp!=null) { hasLayout = true; leftMargin = Math.round(Float.parseFloat(tmp) * 20.0F); } tmp = attrib.getValue("", "rightmargin"); if (tmp!=null) { hasLayout = true; rightMargin = Math.round(Float.parseFloat(tmp) * 20.0F); } tmp = attrib.getValue("", "linespacing"); if (tmp!=null) { hasLayout = true; lineSpacing = Math.round(Float.parseFloat(tmp) * 20.0F); } hasBorder = "yes".equals(attrib.getValue("", "border")); isSelectable = "yes".equals(attrib.getValue("", "selectable")); } catch (SWFWriterException e) { throw e; } catch (Exception e) { fatalError(e); } }
11735 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11735/bfa3301375bf987749e5bc3d4c8ca2cc967346f9/XMLTextHandler.java/buggy/spark/src/de/tivano/flash/swf/publisher/XMLTextHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 13591, 12, 780, 508, 16, 9055, 5885, 13, 202, 1377, 1216, 16392, 42, 2289, 503, 288, 202, 780, 1853, 31, 202, 759, 9190, 919, 501, 202, 955, 14975, 18, 8507, 5621, 202, 5332, 3744, 273, 629, 31, 202, 4482, 9524, 273, 374, 31, 202, 4083, 9524, 273, 374, 31, 202, 9355, 273, 374, 31, 202, 1369, 18006, 273, 374, 31, 202, 4285, 5711, 273, 3331, 67, 25221, 31, 202, 4285, 22688, 273, 27610, 31, 202, 4285, 10044, 273, 16392, 42, 11644, 16157, 18, 26439, 67, 10066, 31, 202, 4285, 2957, 273, 3331, 67, 10989, 31, 202, 5429, 225, 273, 374, 6356, 31, 202, 2972, 1528, 273, 446, 31, 202, 14891, 1908, 1528, 5579, 273, 638, 31, 202, 202, 698, 288, 202, 565, 1853, 273, 5885, 18, 24805, 2932, 3113, 315, 350, 8863, 202, 565, 309, 261, 5645, 480, 446, 13, 612, 273, 2144, 18, 2670, 1702, 12, 5645, 1769, 202, 565, 1853, 273, 5885, 18, 24805, 2932, 3113, 315, 529, 8863, 202, 565, 309, 261, 5645, 480, 446, 13, 13722, 273, 1853, 31, 202, 565, 469, 13722, 273, 1408, 31, 202, 565, 775, 288, 202, 202, 10576, 273, 394, 16392, 42, 19463, 12, 1082, 202, 4522, 18, 2670, 1702, 12, 14588, 18, 24805, 2932, 3113, 315, 92, 1154, 7923, 3631, 1082, 202, 4522, 18, 2670, 1702, 12, 14588, 18, 24805, 2932, 3113, 315, 92, 1896, 7923, 3631, 1082, 202, 4522, 18, 2670, 1702, 12, 14588, 18, 24805, 2932, 3113, 315, 93, 1154, 7923, 3631, 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, 13591, 12, 780, 508, 16, 9055, 5885, 13, 202, 1377, 1216, 16392, 42, 2289, 503, 288, 202, 780, 1853, 31, 202, 759, 9190, 919, 501, 202, 955, 14975, 18, 8507, 5621, 202, 5332, 3744, 273, 629, 31, 202, 4482, 9524, 273, 374, 31, 202, 4083, 9524, 273, 374, 31, 202, 9355, 273, 374, 31, 202, 1369, 18006, 273, 374, 31, 202, 4285, 5711, 273, 3331, 67, 25221, 31, 202, 4285, 22688, 273, 27610, 31, 202, 4285, 10044, 273, 16392, 42, 11644, 16157, 18, 26439, 67, 10066, 31, 202, 4285, 2957, 273, 3331, 67, 10989, 31, 202, 5429, 225, 273, 374, 6356, 31, 202, 2972, 1528, 273, 446, 31, 202, 14891, 1908, 1528, 5579, 273, 638, 31, 2 ]
public org.quickfix.field.SecurityAltID getSecurityAltID() throws FieldNotFound { org.quickfix.field.SecurityAltID value = new org.quickfix.field.SecurityAltID();
public quickfix.field.SecurityAltID getSecurityAltID() throws FieldNotFound { quickfix.field.SecurityAltID value = new quickfix.field.SecurityAltID();
public org.quickfix.field.SecurityAltID getSecurityAltID() throws FieldNotFound { org.quickfix.field.SecurityAltID value = new org.quickfix.field.SecurityAltID(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderCross.java/buggy/src/java/src/quickfix/fix44/NewOrderCross.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 19288, 10655, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 19288, 10655, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 10655, 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, -100 ]
if (!project.isAccessible())
if (!project.isAccessible()) {
private void createProjectSelectionTable(Composite radioGroup) { projectNames = CheckboxTableViewer.newCheckList(radioGroup, SWT.BORDER); projectNames.setContentProvider(new WorkbenchContentProvider()); projectNames.setLabelProvider(new WorkbenchLabelProvider()); projectNames.setSorter(new ResourceSorter(ResourceSorter.NAME)); projectNames.addFilter(new ViewerFilter() { private final IProject[] projectHolder = new IProject[1]; public boolean select(Viewer viewer, Object parentElement, Object element) { if (!(element instanceof IProject)) return false; IProject project = (IProject) element; if (!project.isAccessible()) return false; projectHolder[0] = project; return BuildUtilities.isEnabled(projectHolder, IncrementalProjectBuilder.CLEAN_BUILD); } }); projectNames.setInput(ResourcesPlugin.getWorkspace().getRoot()); GridData data = new GridData(GridData.FILL_BOTH); data.horizontalSpan = 2; data.widthHint = IDialogConstants.ENTRY_FIELD_WIDTH; data.heightHint = IDialogConstants.ENTRY_FIELD_WIDTH; projectNames.getTable().setLayoutData(data); projectNames.setCheckedElements(selection); //table is disabled to start because all button is selected projectNames.getTable().setEnabled(selectedButton.getSelection()); projectNames.addCheckStateListener(new ICheckStateListener() { public void checkStateChanged(CheckStateChangedEvent event) { selection = projectNames.getCheckedElements(); updateEnablement(); } }); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/CleanDialog.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/CleanDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 4109, 6233, 1388, 12, 9400, 13512, 1114, 13, 288, 377, 202, 4406, 1557, 273, 29213, 1388, 18415, 18, 2704, 1564, 682, 12, 17006, 1114, 16, 348, 8588, 18, 38, 7954, 1769, 377, 202, 4406, 1557, 18, 542, 1350, 2249, 12, 2704, 4147, 22144, 1350, 2249, 10663, 377, 202, 4406, 1557, 18, 542, 2224, 2249, 12, 2704, 4147, 22144, 2224, 2249, 10663, 377, 202, 4406, 1557, 18, 542, 24952, 12, 2704, 2591, 24952, 12, 1420, 24952, 18, 1985, 10019, 377, 202, 4406, 1557, 18, 1289, 1586, 12, 2704, 4441, 264, 1586, 1435, 288, 377, 202, 202, 1152, 727, 467, 4109, 8526, 1984, 6064, 273, 394, 467, 4109, 63, 21, 15533, 1082, 202, 482, 1250, 2027, 12, 18415, 14157, 16, 1033, 30363, 16, 1033, 930, 13, 288, 9506, 202, 430, 16051, 12, 2956, 1276, 467, 4109, 3719, 6862, 202, 2463, 629, 31, 9506, 202, 45, 4109, 1984, 273, 261, 45, 4109, 13, 930, 31, 9506, 202, 430, 16051, 4406, 18, 291, 10451, 10756, 6862, 202, 2463, 629, 31, 9506, 202, 4406, 6064, 63, 20, 65, 273, 1984, 31, 9506, 202, 2463, 3998, 11864, 18, 291, 1526, 12, 4406, 6064, 16, 17883, 287, 4109, 1263, 18, 39, 10439, 67, 20215, 1769, 1082, 202, 97, 202, 202, 22938, 377, 202, 4406, 1557, 18, 542, 1210, 12, 3805, 3773, 18, 588, 8241, 7675, 588, 2375, 10663, 377, 202, 6313, 751, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 377, 202, 892, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 4109, 6233, 1388, 12, 9400, 13512, 1114, 13, 288, 377, 202, 4406, 1557, 273, 29213, 1388, 18415, 18, 2704, 1564, 682, 12, 17006, 1114, 16, 348, 8588, 18, 38, 7954, 1769, 377, 202, 4406, 1557, 18, 542, 1350, 2249, 12, 2704, 4147, 22144, 1350, 2249, 10663, 377, 202, 4406, 1557, 18, 542, 2224, 2249, 12, 2704, 4147, 22144, 2224, 2249, 10663, 377, 202, 4406, 1557, 18, 542, 24952, 12, 2704, 2591, 24952, 12, 1420, 24952, 18, 1985, 10019, 377, 202, 4406, 1557, 18, 1289, 1586, 12, 2704, 4441, 264, 1586, 1435, 288, 377, 202, 202, 1152, 727, 467, 4109, 8526, 1984, 6064, 273, 394, 467, 4109, 63, 21, 15533, 1082, 202, 482, 1250, 2027, 12, 2 ]
setModified(true);
public void setVersionUserName(String versionUserName) { if (((versionUserName == null) && (_versionUserName != null)) || ((versionUserName != null) && (_versionUserName == null)) || ((versionUserName != null) && (_versionUserName != null) && !versionUserName.equals(_versionUserName))) { if (!XSS_ALLOW_VERSIONUSERNAME) { versionUserName = XSSUtil.strip(versionUserName); } _versionUserName = versionUserName; setModified(true); } }
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/DLFileEntryModel.java/buggy/portal-ejb/src/com/liferay/portlet/documentlibrary/model/DLFileEntryModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 16770, 15296, 12, 780, 1177, 15296, 13, 288, 202, 202, 430, 261, 12443, 1589, 15296, 422, 446, 13, 597, 261, 67, 1589, 15296, 480, 446, 3719, 747, 9506, 202, 12443, 1589, 15296, 480, 446, 13, 597, 261, 67, 1589, 15296, 422, 446, 3719, 747, 9506, 202, 12443, 1589, 15296, 480, 446, 13, 597, 261, 67, 1589, 15296, 480, 446, 13, 597, 9506, 202, 5, 1589, 15296, 18, 14963, 24899, 1589, 15296, 20349, 288, 1082, 202, 430, 16051, 60, 1260, 67, 13511, 67, 5757, 21292, 13, 288, 9506, 202, 1589, 15296, 273, 1139, 1260, 1304, 18, 6406, 12, 1589, 15296, 1769, 1082, 202, 97, 1082, 202, 67, 1589, 15296, 273, 1177, 15296, 31, 1082, 202, 542, 4575, 12, 3767, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 16770, 15296, 12, 780, 1177, 15296, 13, 288, 202, 202, 430, 261, 12443, 1589, 15296, 422, 446, 13, 597, 261, 67, 1589, 15296, 480, 446, 3719, 747, 9506, 202, 12443, 1589, 15296, 480, 446, 13, 597, 261, 67, 1589, 15296, 422, 446, 3719, 747, 9506, 202, 12443, 1589, 15296, 480, 446, 13, 597, 261, 67, 1589, 15296, 480, 446, 13, 597, 9506, 202, 5, 1589, 15296, 18, 14963, 24899, 1589, 15296, 20349, 288, 1082, 202, 430, 16051, 60, 1260, 67, 13511, 67, 5757, 21292, 13, 288, 9506, 202, 1589, 15296, 273, 1139, 1260, 1304, 18, 6406, 12, 1589, 15296, 1769, 1082, 202, 97, 1082, 202, 67, 1589, 15296, 273, 1177, 15296, 31, 1082, 202, 542, 2 ]
if (!isComparison(condition, var)) {
if (condition == null || !isComparison(condition, var)) {
public void visitForStatement(@NotNull PsiForStatement forStatement) { super.visitForStatement(forStatement); final PsiStatement initialization = forStatement.getInitialization(); if (!(initialization instanceof PsiDeclarationStatement)) { return; } final PsiDeclarationStatement declaration = (PsiDeclarationStatement)initialization; if (declaration.getDeclaredElements().length != 1) { return; } final PsiLocalVariable var = (PsiLocalVariable) declaration.getDeclaredElements()[0]; final PsiExpression initialValue = var.getInitializer(); if (initialValue != null) { final PsiManager manager = initialValue.getManager(); final PsiConstantEvaluationHelper constantEvaluationHelper = manager.getConstantEvaluationHelper(); final Object value = constantEvaluationHelper.computeConstantExpression( initialValue); if (!(value instanceof Integer)) { return; } final Integer integer = (Integer)value; if (integer.intValue() != 0) { return; } } final PsiExpression condition = forStatement.getCondition(); if (!isComparison(condition, var)) { return; } final PsiStatement update = forStatement.getUpdate(); if (!isIncrement(update, var)) { return; } final PsiStatement body = forStatement.getBody(); if (!bodyIsArrayMove(body, var)) { return; } registerStatementError(forStatement); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/bfd31bd8696db099997fb72e3c0cfc91292d79fb/ManualArrayCopyInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/performance/ManualArrayCopyInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 1290, 3406, 26964, 5962, 453, 7722, 1290, 3406, 364, 3406, 13, 288, 5411, 2240, 18, 11658, 1290, 3406, 12, 1884, 3406, 1769, 5411, 727, 453, 7722, 3406, 10313, 273, 10792, 364, 3406, 18, 588, 17701, 5621, 5411, 309, 16051, 12, 6769, 1588, 1276, 453, 7722, 6094, 3406, 3719, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 6094, 3406, 8266, 273, 10792, 261, 52, 7722, 6094, 3406, 13, 6769, 1588, 31, 5411, 309, 261, 22448, 18, 588, 18888, 3471, 7675, 2469, 480, 404, 13, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 2042, 3092, 569, 273, 261, 52, 7722, 2042, 3092, 13, 10792, 8266, 18, 588, 18888, 3471, 1435, 63, 20, 15533, 5411, 727, 453, 7722, 2300, 11837, 273, 569, 18, 588, 14729, 5621, 5411, 309, 261, 6769, 620, 480, 446, 13, 288, 7734, 727, 453, 7722, 1318, 3301, 273, 11837, 18, 588, 1318, 5621, 7734, 727, 453, 7722, 6902, 13468, 2276, 5381, 13468, 2276, 273, 13491, 3301, 18, 588, 6902, 13468, 2276, 5621, 7734, 727, 1033, 460, 273, 13491, 5381, 13468, 2276, 18, 9200, 6902, 2300, 12, 27573, 11837, 1769, 7734, 309, 16051, 12, 1132, 1276, 2144, 3719, 288, 10792, 327, 31, 7734, 289, 7734, 727, 2144, 3571, 273, 261, 4522, 13, 1132, 31, 7734, 309, 261, 7745, 18, 474, 620, 1435, 480, 374, 13, 288, 10792, 327, 31, 7734, 289, 5411, 289, 5411, 727, 453, 7722, 2300, 2269, 273, 364, 3406, 18, 588, 3418, 5621, 5411, 309, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 1290, 3406, 26964, 5962, 453, 7722, 1290, 3406, 364, 3406, 13, 288, 5411, 2240, 18, 11658, 1290, 3406, 12, 1884, 3406, 1769, 5411, 727, 453, 7722, 3406, 10313, 273, 10792, 364, 3406, 18, 588, 17701, 5621, 5411, 309, 16051, 12, 6769, 1588, 1276, 453, 7722, 6094, 3406, 3719, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 6094, 3406, 8266, 273, 10792, 261, 52, 7722, 6094, 3406, 13, 6769, 1588, 31, 5411, 309, 261, 22448, 18, 588, 18888, 3471, 7675, 2469, 480, 404, 13, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 2042, 3092, 569, 273, 261, 52, 7722, 2042, 3092, 13, 10792, 8266, 18, 588, 18888, 3471, 1435, 63, 20, 15533, 2 ]
carry = (ca1[icarry - 1] == '1' || ca1[icarry - 1] == '3' || ca1[icarry - 1] == '5' || ca1[icarry - 1] == '7' || ca1[icarry - 1] == '9');
carry = (ca1[icarry - 1] == '1' || ca1[icarry - 1] == '3' || ca1[icarry - 1] == '5' || ca1[icarry - 1] == '7' || ca1[icarry - 1] == '9');
private boolean checkForCarry(char[] ca1, int icarry) { boolean carry = false; if (icarry < ca1.length) { if (ca1[icarry] == '6' || ca1[icarry] == '7' || ca1[icarry] == '8' || ca1[icarry] == '9') { carry = true; } else if (ca1[icarry] == '5') { int ii = icarry + 1; for (; ii < ca1.length; ii++) { if (ca1[ii] != '0') { break; } } carry = ii < ca1.length; if (!carry && icarry > 0) { carry = (ca1[icarry - 1] == '1' || ca1[icarry - 1] == '3' || ca1[icarry - 1] == '5' || ca1[icarry - 1] == '7' || ca1[icarry - 1] == '9'); } } } return carry; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/81a0eece47a6b5f01a9201699d7d2364fc0b93c5/PrintfFormat.java/buggy/src/org/opencms/util/PrintfFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1250, 13855, 16321, 1176, 12, 3001, 8526, 3474, 21, 16, 509, 277, 9815, 1176, 13, 288, 5411, 1250, 9331, 273, 629, 31, 5411, 309, 261, 335, 297, 1176, 411, 3474, 21, 18, 2469, 13, 288, 7734, 309, 261, 5353, 21, 63, 335, 297, 1176, 65, 422, 296, 26, 11, 747, 3474, 21, 63, 335, 297, 1176, 65, 422, 296, 27, 11, 747, 3474, 21, 63, 335, 297, 1176, 65, 422, 296, 28, 11, 747, 3474, 21, 63, 335, 297, 1176, 65, 422, 296, 29, 6134, 288, 10792, 9331, 273, 638, 31, 7734, 289, 469, 309, 261, 5353, 21, 63, 335, 297, 1176, 65, 422, 296, 25, 6134, 288, 10792, 509, 6072, 273, 277, 9815, 1176, 397, 404, 31, 10792, 364, 261, 31, 6072, 411, 3474, 21, 18, 2469, 31, 6072, 27245, 288, 13491, 309, 261, 5353, 21, 63, 2835, 65, 480, 296, 20, 6134, 288, 18701, 898, 31, 13491, 289, 10792, 289, 10792, 9331, 273, 6072, 411, 3474, 21, 18, 2469, 31, 10792, 309, 16051, 9815, 1176, 597, 277, 9815, 1176, 405, 374, 13, 288, 13491, 9331, 273, 261, 5353, 21, 63, 335, 297, 1176, 300, 404, 65, 422, 296, 21, 11, 747, 3474, 21, 63, 335, 297, 1176, 300, 404, 65, 422, 296, 23, 11, 747, 3474, 21, 63, 335, 297, 1176, 300, 404, 65, 422, 296, 25, 11, 747, 3474, 21, 63, 335, 297, 1176, 300, 404, 65, 422, 296, 27, 11, 747, 3474, 21, 63, 335, 297, 1176, 300, 404, 65, 422, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1250, 13855, 16321, 1176, 12, 3001, 8526, 3474, 21, 16, 509, 277, 9815, 1176, 13, 288, 5411, 1250, 9331, 273, 629, 31, 5411, 309, 261, 335, 297, 1176, 411, 3474, 21, 18, 2469, 13, 288, 7734, 309, 261, 5353, 21, 63, 335, 297, 1176, 65, 422, 296, 26, 11, 747, 3474, 21, 63, 335, 297, 1176, 65, 422, 296, 27, 11, 747, 3474, 21, 63, 335, 297, 1176, 65, 422, 296, 28, 11, 747, 3474, 21, 63, 335, 297, 1176, 65, 422, 296, 29, 6134, 288, 10792, 9331, 273, 638, 31, 7734, 289, 469, 309, 261, 5353, 21, 63, 335, 297, 1176, 65, 422, 296, 25, 6134, 288, 10792, 509, 6072, 273, 277, 9815, 1176, 397, 404, 2 ]
if (((mY - y) % 2) == 0) g.setColor(light); else g.setColor(dark);
int xOff = 0; for (int mY = y; mY < (y + h); mY++) { if (((mY - y) % 2) == 0) g.setColor(light); else g.setColor(dark);
static void fillMetalPattern(Graphics g, int x, int y, int w, int h, Color light, Color dark) { int xOff = 0; for (int mY = y; mY < (y + h); mY++) { // set color alternating with every line if (((mY - y) % 2) == 0) g.setColor(light); else g.setColor(dark); for (int mX = x + (xOff); mX < (x + w); mX += 4) { g.drawLine(mX, mY, mX, mY); } // increase x offset xOff++; if (xOff > 3) xOff = 0; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/MetalUtils.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 918, 3636, 26365, 3234, 12, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 509, 341, 16, 509, 366, 16, 27573, 5563, 9052, 16, 5563, 23433, 13, 225, 288, 565, 509, 619, 7210, 273, 374, 31, 565, 364, 261, 474, 312, 61, 273, 677, 31, 312, 61, 411, 261, 93, 397, 366, 1769, 312, 61, 27245, 1377, 288, 3639, 368, 444, 2036, 6416, 1776, 598, 3614, 980, 3639, 309, 261, 12443, 81, 61, 300, 677, 13, 738, 576, 13, 422, 374, 13, 1850, 314, 18, 542, 2957, 12, 5099, 1769, 3639, 469, 1850, 314, 18, 542, 2957, 12, 25045, 1769, 3639, 364, 261, 474, 312, 60, 273, 619, 397, 261, 92, 7210, 1769, 312, 60, 411, 261, 92, 397, 341, 1769, 312, 60, 1011, 1059, 13, 1850, 288, 5411, 314, 18, 9446, 1670, 12, 81, 60, 16, 312, 61, 16, 312, 60, 16, 312, 61, 1769, 1850, 289, 3639, 368, 10929, 619, 1384, 3639, 619, 7210, 9904, 31, 3639, 309, 261, 92, 7210, 405, 890, 13, 1850, 619, 7210, 273, 374, 31, 1377, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 918, 3636, 26365, 3234, 12, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 509, 341, 16, 509, 366, 16, 27573, 5563, 9052, 16, 5563, 23433, 13, 225, 288, 565, 509, 619, 7210, 273, 374, 31, 565, 364, 261, 474, 312, 61, 273, 677, 31, 312, 61, 411, 261, 93, 397, 366, 1769, 312, 61, 27245, 1377, 288, 3639, 368, 444, 2036, 6416, 1776, 598, 3614, 980, 3639, 309, 261, 12443, 81, 61, 300, 677, 13, 738, 576, 13, 422, 374, 13, 1850, 314, 18, 542, 2957, 12, 5099, 1769, 3639, 469, 1850, 314, 18, 542, 2957, 12, 25045, 1769, 3639, 364, 261, 474, 312, 60, 273, 619, 397, 261, 92, 7210, 1769, 312, 60, 411, 261, 2 ]
private void purgeFile(String exportFileName) { String rfsName = CmsFileUtil.normalizePath(OpenCms.getStaticExportManager().getRfsPrefix() + "/" + exportFileName.substring(OpenCms.getStaticExportManager().getExportPath().length())); rfsName = CmsStringUtil.substitute(rfsName, new String(new char[] {File.separatorChar}), "/"); try { File exportFile = new File(exportFileName); // check if export file exists, if so delete it if (exportFile.exists() && exportFile.canWrite()) { exportFile.delete(); // write log message if (OpenCms.getLog(this).isInfoEnabled()) { OpenCms.getLog(this).info("Static export deleted exported rfs file '" + rfsName + "'"); } } } catch (Throwable t) { // ignore, nothing to do about this if (OpenCms.getLog(this).isWarnEnabled()) { OpenCms.getLog(this).warn("Error deleting static export file rfsName='" + rfsName + "'", t); } } }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/505e248a5535d56bf89e7d0693715ce6df4ceec9/A_CmsOnDemandStaticExportHandler.java/buggy/src/org/opencms/staticexport/A_CmsOnDemandStaticExportHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 26422, 812, 12, 780, 6530, 4771, 15329, 780, 86, 2556, 461, 33, 4747, 812, 1304, 18, 12237, 743, 12, 3678, 4747, 18, 588, 5788, 6144, 1318, 7675, 588, 54, 2556, 2244, 1435, 9078, 4898, 15, 6530, 4771, 18, 28023, 12, 3678, 4747, 18, 588, 5788, 6144, 1318, 7675, 588, 6144, 743, 7675, 2469, 1435, 10019, 86, 2556, 461, 33, 4747, 13565, 18, 1717, 17207, 12, 86, 2556, 461, 16, 2704, 780, 12, 2704, 3001, 63, 7073, 812, 18, 11287, 2156, 97, 3631, 6, 4898, 1769, 698, 95, 812, 6530, 812, 33, 2704, 812, 12, 6530, 4771, 1769, 759, 1893, 430, 6530, 768, 1808, 16, 17249, 369, 929, 305, 430, 12, 6530, 812, 18, 1808, 1435, 10, 10, 6530, 812, 18, 4169, 3067, 10756, 95, 6530, 812, 18, 3733, 5621, 759, 5363, 12970, 2150, 430, 12, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 95, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 1376, 2932, 5000, 1812, 92, 655, 3733, 561, 1798, 86, 2556, 768, 4970, 15, 86, 2556, 461, 9078, 4970, 1769, 9090, 97, 14683, 12, 8282, 378, 1810, 15329, 759, 6185, 16, 30874, 9012, 21071, 2211, 430, 12, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 3160, 1526, 10756, 95, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 8935, 2932, 2524, 517, 808, 310, 5642, 1812, 92, 655, 11894, 2556, 461, 13396, 15, 86, 2556, 461, 15, 5187, 3113, 88, 1769, 9090, 97, 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, 3238, 6459, 26422, 812, 12, 780, 6530, 4771, 15329, 780, 86, 2556, 461, 33, 4747, 812, 1304, 18, 12237, 743, 12, 3678, 4747, 18, 588, 5788, 6144, 1318, 7675, 588, 54, 2556, 2244, 1435, 9078, 4898, 15, 6530, 4771, 18, 28023, 12, 3678, 4747, 18, 588, 5788, 6144, 1318, 7675, 588, 6144, 743, 7675, 2469, 1435, 10019, 86, 2556, 461, 33, 4747, 13565, 18, 1717, 17207, 12, 86, 2556, 461, 16, 2704, 780, 12, 2704, 3001, 63, 7073, 812, 18, 11287, 2156, 97, 3631, 6, 4898, 1769, 698, 95, 812, 6530, 812, 33, 2704, 812, 12, 6530, 4771, 1769, 759, 1893, 430, 6530, 768, 1808, 16, 17249, 369, 929, 305, 430, 12, 6530, 812, 18, 1808, 1435, 10, 10, 2 ]
SIPRequest sipRequest = (SIPRequest) request; RequestLine requestLine = sipRequest.getRequestLine(); if (requestLine == null) throw new IllegalArgumentException("Bad message"); javax.sip.address.URI requestURI = requestLine.getUri(); if (requestURI == null) throw new IllegalArgumentException("Bad message: Null requestURI"); LinkedList ll = null; RouteList routes = sipRequest.getRouteHeaders(); if (routes != null) { ll = new LinkedList(); Route route = (Route) routes.getFirst(); SipUri uri = (SipUri) route.getAddress().getURI(); int port; if (uri.getHostPort().hasPort()) { sipStack.logWriter.logMessage("routeHeader = " + uri.encode()); sipStack.logWriter.logMessage( "port = " + uri.getHostPort().getPort()); port = uri.getHostPort().getPort(); } else { port = 5060; } String host = uri.getHost(); String transport = uri.getTransportParam(); if (transport == null) transport = SIPConstants.UDP; HopImpl hop = new HopImpl(host, port, transport); ll.add(hop); if (LogWriter.needsLogging) sipStack.logWriter.logMessage( "We use the Route header to " + "forward the message"); } else if ( requestURI instanceof SipURI && ((SipURI) requestURI).getMAddrParam() != null) { String maddr = ((SipURI) requestURI).getMAddrParam(); String transport = ((SipURI) requestURI).getTransportParam(); if (transport == null) transport = SIPConstants.UDP; int port = 5060; HopImpl hop = new HopImpl(maddr, port, transport); hop.setURIRouteFlag(); ll = new LinkedList(); ll.add(hop); if (LogWriter.needsLogging) sipStack.logWriter.logMessage("Added Hop = " + hop.toString()); } else if (requestURI instanceof SipURI) { String host = ((SipURI) requestURI).getHost(); int port = ((SipURI) requestURI).getPort(); if (port == -1) port = 5060; if (hopsBackToMe(host, port)) { return null; } String transport = ((SipURI) requestURI).getTransportParam(); if (transport == null) transport = SIPConstants.UDP; HopImpl hop = new HopImpl(host, port, transport); ll = new LinkedList(); ll.add(hop); if (LogWriter.needsLogging) sipStack.logWriter.logMessage("Added Hop = " + hop.toString());
try { LinkedList llist = new LinkedList(); llist.add(this.getNextHop(request)); return llist.listIterator(); } catch (SipException ex) { return null;
public ListIterator getNextHops(Request request) { SIPRequest sipRequest = (SIPRequest) request; RequestLine requestLine = sipRequest.getRequestLine(); if (requestLine == null) throw new IllegalArgumentException("Bad message"); javax.sip.address.URI requestURI = requestLine.getUri(); if (requestURI == null) throw new IllegalArgumentException("Bad message: Null requestURI"); LinkedList ll = null; RouteList routes = sipRequest.getRouteHeaders(); if (routes != null) { // This has a route header so lets use the address // specified in the record route header. // Bug reported by Jiang He ll = new LinkedList(); Route route = (Route) routes.getFirst(); SipUri uri = (SipUri) route.getAddress().getURI(); int port; if (uri.getHostPort().hasPort()) { sipStack.logWriter.logMessage("routeHeader = " + uri.encode()); sipStack.logWriter.logMessage( "port = " + uri.getHostPort().getPort()); port = uri.getHostPort().getPort(); } else { port = 5060; } String host = uri.getHost(); String transport = uri.getTransportParam(); if (transport == null) transport = SIPConstants.UDP; HopImpl hop = new HopImpl(host, port, transport); ll.add(hop); // routes.removeFirst(); // sipRequest.setRequestURI(uri); if (LogWriter.needsLogging) sipStack.logWriter.logMessage( "We use the Route header to " + "forward the message"); } else if ( requestURI instanceof SipURI && ((SipURI) requestURI).getMAddrParam() != null) { String maddr = ((SipURI) requestURI).getMAddrParam(); String transport = ((SipURI) requestURI).getTransportParam(); if (transport == null) transport = SIPConstants.UDP; int port = 5060; HopImpl hop = new HopImpl(maddr, port, transport); hop.setURIRouteFlag(); ll = new LinkedList(); ll.add(hop); if (LogWriter.needsLogging) sipStack.logWriter.logMessage("Added Hop = " + hop.toString()); } else if (requestURI instanceof SipURI) { String host = ((SipURI) requestURI).getHost(); int port = ((SipURI) requestURI).getPort(); if (port == -1) port = 5060; if (hopsBackToMe(host, port)) { // Egads! route points back at me - better bail. return null; } String transport = ((SipURI) requestURI).getTransportParam(); if (transport == null) transport = SIPConstants.UDP; HopImpl hop = new HopImpl(host, port, transport); ll = new LinkedList(); ll.add(hop); if (LogWriter.needsLogging) sipStack.logWriter.logMessage("Added Hop = " + hop.toString()); } if (defaultRoute != null) { if (ll == null) ll = new LinkedList(); ll.add(defaultRoute); if (LogWriter.needsLogging) { sipStack.logWriter.logMessage( "Added Hop = " + defaultRoute.toString()); } } return ll == null ? null : ll.listIterator(); }
7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/DefaultRouter.java/clean/trunk/src/gov/nist/javax/sip/stack/DefaultRouter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 987, 3198, 6927, 44, 4473, 12, 691, 590, 13, 288, 202, 202, 17739, 691, 10341, 691, 273, 261, 17739, 691, 13, 590, 31, 202, 202, 691, 1670, 590, 1670, 273, 10341, 691, 18, 588, 691, 1670, 5621, 202, 202, 430, 261, 2293, 1670, 422, 446, 13, 1082, 202, 12849, 394, 2754, 2932, 6434, 883, 8863, 202, 202, 28384, 18, 28477, 18, 2867, 18, 3098, 590, 3098, 273, 590, 1670, 18, 588, 3006, 5621, 202, 202, 430, 261, 2293, 3098, 422, 446, 13, 1082, 202, 12849, 394, 2754, 2932, 6434, 883, 30, 4112, 590, 3098, 8863, 202, 202, 13174, 682, 6579, 273, 446, 31, 202, 202, 3255, 682, 4912, 273, 10341, 691, 18, 588, 3255, 3121, 5621, 202, 202, 430, 261, 10854, 480, 446, 13, 288, 1082, 202, 759, 1220, 711, 279, 225, 1946, 1446, 1427, 14557, 999, 326, 1758, 1082, 202, 759, 1269, 316, 326, 1409, 1946, 1446, 18, 1082, 202, 759, 16907, 14010, 635, 804, 77, 539, 8264, 1082, 202, 2906, 273, 394, 10688, 5621, 1082, 202, 3255, 1946, 273, 261, 3255, 13, 4912, 18, 588, 3759, 5621, 1082, 202, 17550, 3006, 2003, 273, 261, 17550, 3006, 13, 1946, 18, 588, 1887, 7675, 588, 3098, 5621, 1082, 202, 474, 1756, 31, 1082, 202, 430, 261, 1650, 18, 588, 16688, 7675, 5332, 2617, 10756, 288, 9506, 202, 28477, 2624, 18, 1330, 2289, 18, 1330, 1079, 2932, 5547, 1864, 273, 315, 397, 2003, 18, 3015, 10663, 9506, 202, 28477, 2624, 18, 1330, 2289, 18, 1330, 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, 987, 3198, 6927, 44, 4473, 12, 691, 590, 13, 288, 202, 202, 17739, 691, 10341, 691, 273, 261, 17739, 691, 13, 590, 31, 202, 202, 691, 1670, 590, 1670, 273, 10341, 691, 18, 588, 691, 1670, 5621, 202, 202, 430, 261, 2293, 1670, 422, 446, 13, 1082, 202, 12849, 394, 2754, 2932, 6434, 883, 8863, 202, 202, 28384, 18, 28477, 18, 2867, 18, 3098, 590, 3098, 273, 590, 1670, 18, 588, 3006, 5621, 202, 202, 430, 261, 2293, 3098, 422, 446, 13, 1082, 202, 12849, 394, 2754, 2932, 6434, 883, 30, 4112, 590, 3098, 8863, 202, 202, 13174, 682, 6579, 273, 446, 31, 202, 202, 3255, 682, 4912, 273, 10341, 691, 18, 588, 3255, 3121, 5621, 2 ]
public ParameterizedBinaryMethod(JavaElement parent, String name, String[] parameterTypes, String uniqueKey) {
public ParameterizedBinaryMethod(JavaElement parent, String name, String[] parameterTypes, String genericDeclaringTypeSignature, String genericSignature, String[] genericTypeArgumentsSignatures) {
public ParameterizedBinaryMethod(JavaElement parent, String name, String[] parameterTypes, String uniqueKey) { super(parent, name, parameterTypes); this.uniqueKey = uniqueKey; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/562f566c1c2b8bfedaad7117a5b53ae2f781bec9/ParameterizedBinaryMethod.java/buggy/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ParameterizedBinaryMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 30125, 5905, 1305, 12, 5852, 1046, 982, 16, 514, 508, 16, 514, 8526, 20173, 16, 514, 3089, 653, 13, 288, 202, 202, 9565, 12, 2938, 16, 508, 16, 20173, 1769, 202, 202, 2211, 18, 6270, 653, 273, 3089, 653, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 30125, 5905, 1305, 12, 5852, 1046, 982, 16, 514, 508, 16, 514, 8526, 20173, 16, 514, 3089, 653, 13, 288, 202, 202, 9565, 12, 2938, 16, 508, 16, 20173, 1769, 202, 202, 2211, 18, 6270, 653, 273, 3089, 653, 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 ]
null, "setOnkeypress");
null, "setOnkeypressExpr");
public PropertyDescriptor[] getPropertyDescriptors() { PropertyDescriptor[] result = new PropertyDescriptor[36]; try { result[0] = new PropertyDescriptor("accesskey", ELLinkTag.class, null, "setAccesskey"); result[1] = new PropertyDescriptor("action", ELLinkTag.class, null, "setAction"); result[2] = new PropertyDescriptor("anchor", ELLinkTag.class, null, "setAnchor"); result[3] = new PropertyDescriptor("forward", ELLinkTag.class, null, "setForward"); result[4] = new PropertyDescriptor("href", ELLinkTag.class, null, "setHref"); // This attribute has a non-standard mapping. result[5] = new PropertyDescriptor("indexed", ELLinkTag.class, null, "setIndexedExpr"); result[6] = new PropertyDescriptor("indexId", ELLinkTag.class, null, "setIndexId"); result[7] = new PropertyDescriptor("linkName", ELLinkTag.class, null, "setLinkName"); result[8] = new PropertyDescriptor("name", ELLinkTag.class, null, "setName"); result[9] = new PropertyDescriptor("onblur", ELLinkTag.class, null, "setOnblur"); result[10] = new PropertyDescriptor("onclick", ELLinkTag.class, null, "setOnclick"); result[11] = new PropertyDescriptor("ondblclick", ELLinkTag.class, null, "setOndblclick"); result[12] = new PropertyDescriptor("onfocus", ELLinkTag.class, null, "setOnfocus"); result[13] = new PropertyDescriptor("onkeydown", ELLinkTag.class, null, "setOnkeydown"); result[14] = new PropertyDescriptor("onkeypress", ELLinkTag.class, null, "setOnkeypress"); result[15] = new PropertyDescriptor("onkeyup", ELLinkTag.class, null, "setOnkeyup"); result[16] = new PropertyDescriptor("onmousedown", ELLinkTag.class, null, "setOnmousedown"); result[17] = new PropertyDescriptor("onmousemove", ELLinkTag.class, null, "setOnmousemove"); result[18] = new PropertyDescriptor("onmouseout", ELLinkTag.class, null, "setOnmouseout"); result[19] = new PropertyDescriptor("onmouseover", ELLinkTag.class, null, "setOnmouseover"); result[20] = new PropertyDescriptor("onmouseup", ELLinkTag.class, null, "setOnmouseup"); result[21] = new PropertyDescriptor("page", ELLinkTag.class, null, "setPage"); result[22] = new PropertyDescriptor("paramId", ELLinkTag.class, null, "setParamId"); result[23] = new PropertyDescriptor("paramName", ELLinkTag.class, null, "setParamName"); result[24] = new PropertyDescriptor("paramProperty", ELLinkTag.class, null, "setParamProperty"); result[25] = new PropertyDescriptor("paramScope", ELLinkTag.class, null, "setParamScope"); result[26] = new PropertyDescriptor("property", ELLinkTag.class, null, "setProperty"); result[27] = new PropertyDescriptor("scope", ELLinkTag.class, null, "setScope"); result[28] = new PropertyDescriptor("style", ELLinkTag.class, null, "setStyle"); result[29] = new PropertyDescriptor("styleClass", ELLinkTag.class, null, "setStyleClass"); result[30] = new PropertyDescriptor("styleId", ELLinkTag.class, null, "setStyleId"); result[31] = new PropertyDescriptor("tabindex", ELLinkTag.class, null, "setTabindex"); result[32] = new PropertyDescriptor("target", ELLinkTag.class, null, "setTarget"); result[33] = new PropertyDescriptor("title", ELLinkTag.class, null, "setTitle"); result[34] = new PropertyDescriptor("titleKey", ELLinkTag.class, null, "setTitleKey"); result[35] = new PropertyDescriptor("transaction", ELLinkTag.class, null, "setTransactionExpr"); } catch (IntrospectionException ex) { ex.printStackTrace(); } return (result); }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/db064e19656421b94aaf753550935d95f44bd5f9/ELLinkTagBeanInfo.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELLinkTagBeanInfo.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, 5718, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 3860, 856, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1862, 856, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 1128, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1803, 8863, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 16215, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 11605, 8863, 5411, 563, 63, 23, 65, 273, 394, 26761, 2932, 11565, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 8514, 8863, 5411, 563, 63, 24, 65, 273, 394, 26761, 2932, 7547, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 15962, 8863, 5411, 368, 1220, 1566, 711, 279, 1661, 17, 10005, 2874, 18, 5411, 563, 63, 25, 65, 273, 394, 26761, 2932, 19626, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 15034, 4742, 8863, 5411, 563, 63, 26, 65, 273, 394, 26761, 2932, 1615, 548, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1016, 548, 8863, 5411, 563, 63, 27, 65, 273, 394, 26761, 2932, 1232, 461, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 2098, 461, 8863, 5411, 563, 63, 28, 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, 5718, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 3860, 856, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1862, 856, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 1128, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1803, 8863, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 16215, 3113, 14801, 2098, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 11605, 8863, 5411, 563, 63, 23, 65, 273, 394, 26761, 2932, 11565, 3113, 14801, 2098, 1805, 18, 1106, 16, 2 ]
return new RubyString(getRuntime(), snapshot[pos]);
RubyString result = new RubyString(getRuntime(), snapshot[pos]); pos++; return result;
public RubyString read() { pos++; if (pos >= snapshot.length) { return RubyString.nilString(runtime); } return new RubyString(getRuntime(), snapshot[pos]); }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/f80571b8c740590cc4b6416313ec40037810d872/RubyDir.java/buggy/org/jruby/RubyDir.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 780, 855, 1435, 288, 3639, 949, 9904, 31, 3639, 309, 261, 917, 1545, 4439, 18, 2469, 13, 288, 5411, 327, 19817, 780, 18, 20154, 780, 12, 9448, 1769, 3639, 289, 3639, 19817, 780, 563, 273, 394, 19817, 780, 12, 588, 5576, 9334, 4439, 63, 917, 19226, 949, 9904, 31, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 780, 855, 1435, 288, 3639, 949, 9904, 31, 3639, 309, 261, 917, 1545, 4439, 18, 2469, 13, 288, 5411, 327, 19817, 780, 18, 20154, 780, 12, 9448, 1769, 3639, 289, 3639, 19817, 780, 563, 273, 394, 19817, 780, 12, 588, 5576, 9334, 4439, 63, 917, 19226, 949, 9904, 31, 327, 563, 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 ]
Assert.assertEquals( 0, rdn1.compareTo( rdn2 ) ); }
Assert.assertEquals( 0, rdn1.compareTo( rdn2 ) ); }
public void testRDNCompareToNCS2NCSUnordered() throws InvalidNameException { Rdn rdn1 = new Rdn( " a = b + a = f + g = h + c = d " ); Rdn rdn2 = new Rdn( " a = b + c = d + a = f + g = h " ); Assert.assertEquals( 0, rdn1.compareTo( rdn2 ) ); }
54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/34d16a3366af953bef4b3d5f4cf0e7c6bda29ba6/RdnTest.java/buggy/ldap/src/test/java/org/apache/directory/shared/ldap/name/RdnTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 8609, 8583, 774, 50, 4596, 22, 50, 4596, 984, 9885, 1435, 1216, 1962, 26771, 565, 288, 3639, 534, 5176, 436, 5176, 21, 273, 394, 534, 5176, 12, 315, 279, 273, 324, 397, 279, 273, 284, 397, 314, 273, 366, 397, 276, 273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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 8609, 8583, 774, 50, 4596, 22, 50, 4596, 984, 9885, 1435, 1216, 1962, 26771, 565, 288, 3639, 534, 5176, 436, 5176, 21, 273, 394, 534, 5176, 12, 315, 279, 273, 324, 397, 279, 273, 284, 397, 314, 273, 366, 397, 276, 273, 302, 315, 11272, 3639, 534, 5176, 436, 5176, 22, 273, 394, 534, 5176, 12, 315, 279, 273, 324, 397, 276, 273, 302, 397, 279, 273, 284, 397, 314, 273, 366, 315, 11272, 3639, 5452, 18, 11231, 8867, 12, 374, 16, 436, 5176, 21, 18, 9877, 774, 12, 436, 5176, 22, 262, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IPersistentSuportOracle persistentSupportOracle = PersistentSuportOracle.getInstance(); if ((persistentSupportOracle.getIPersistentProject().countUserProject(employee.getEmployeeNumber()) == 0)) { List<ProjectAccess> accessesToDelete = ProjectAccess.getAllByPersonAndCostCenter(person, true, false);
IPersistentSuportOracle persistentSupportOracle = PersistentSuportOracle .getInstance(); if ((persistentSupportOracle.getIPersistentProject().countUserProject( employee.getEmployeeNumber()) == 0)) { List<ProjectAccess> accessesToDelete = ProjectAccess .getAllByPersonAndCostCenter(person, true, false);
public void run(String username, String costCenter, String userNumber) throws FenixServiceException, ExcepcaoPersistencia { Person person = Person.readPersonByUsername(username); Role role = Role.getRoleByRoleType(RoleType.PROJECTS_MANAGER); if (ProjectAccess.getAllByPersonAndCostCenter(person, false, true).size() == 0) { Teacher teacher = person.getTeacher(); if (teacher == null) { Employee employee = person.getEmployee(); if (employee != null) { IPersistentSuportOracle persistentSupportOracle = PersistentSuportOracle.getInstance(); if ((persistentSupportOracle.getIPersistentProject().countUserProject(employee.getEmployeeNumber()) == 0)) { List<ProjectAccess> accessesToDelete = ProjectAccess.getAllByPersonAndCostCenter(person, false, false); for (ProjectAccess access : accessesToDelete) { access.delete(); } person.removePersonRoles(role); } } else throw new FenixServiceException(); } } role = Role.getRoleByRoleType(RoleType.INSTITUCIONAL_PROJECTS_MANAGER); if (ProjectAccess.getAllByPersonAndCostCenter(person, true, true).size() == 0) { Teacher teacher = person.getTeacher(); if (teacher == null) { Employee employee = person.getEmployee(); if (employee != null) { IPersistentSuportOracle persistentSupportOracle = PersistentSuportOracle.getInstance(); if ((persistentSupportOracle.getIPersistentProject().countUserProject(employee.getEmployeeNumber()) == 0)) { List<ProjectAccess> accessesToDelete = ProjectAccess.getAllByPersonAndCostCenter(person, true, false); for (ProjectAccess access : accessesToDelete) { access.delete(); } person.removePersonRoles(role); } } else throw new FenixServiceException(); } } }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/0f860e8727c6983b0f054ce25554f9c95948abb3/ReviewProjectAccess.java/buggy/src/net/sourceforge/fenixedu/applicationTier/Servico/projectsManagement/ReviewProjectAccess.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 12, 780, 2718, 16, 514, 6991, 8449, 16, 514, 729, 1854, 13, 1216, 478, 275, 697, 15133, 16, 1312, 311, 2436, 6033, 12771, 28115, 288, 3639, 11573, 6175, 273, 11573, 18, 896, 8346, 858, 8575, 12, 5053, 1769, 3639, 6204, 2478, 273, 6204, 18, 588, 2996, 858, 2996, 559, 12, 2996, 559, 18, 17147, 55, 67, 19402, 1769, 3639, 309, 261, 4109, 1862, 18, 588, 1595, 858, 8346, 1876, 8018, 8449, 12, 12479, 16, 629, 16, 638, 2934, 1467, 1435, 422, 374, 13, 288, 5411, 399, 13798, 264, 6489, 27779, 273, 6175, 18, 588, 56, 13798, 264, 5621, 5411, 309, 261, 736, 27779, 422, 446, 13, 288, 7734, 512, 27520, 24539, 1340, 273, 6175, 18, 588, 41, 27520, 5621, 7734, 309, 261, 351, 2817, 1340, 480, 446, 13, 288, 10792, 2971, 6572, 3088, 499, 23601, 9195, 6289, 23601, 273, 11049, 3088, 499, 23601, 18, 588, 1442, 5621, 10792, 309, 14015, 19393, 6289, 23601, 18, 588, 2579, 6572, 4109, 7675, 1883, 1299, 4109, 12, 351, 2817, 1340, 18, 588, 41, 27520, 1854, 10756, 422, 374, 3719, 288, 13491, 987, 32, 4109, 1862, 34, 2006, 281, 14976, 273, 5420, 1862, 18, 588, 1595, 858, 8346, 1876, 8018, 8449, 12, 12479, 16, 629, 16, 629, 1769, 13491, 364, 261, 4109, 1862, 2006, 294, 2006, 281, 14976, 13, 288, 18701, 2006, 18, 3733, 5621, 13491, 289, 4766, 7734, 6175, 18, 4479, 8346, 6898, 12, 4615, 1769, 10792, 289, 7734, 289, 469, 10792, 604, 394, 478, 275, 697, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 12, 780, 2718, 16, 514, 6991, 8449, 16, 514, 729, 1854, 13, 1216, 478, 275, 697, 15133, 16, 1312, 311, 2436, 6033, 12771, 28115, 288, 3639, 11573, 6175, 273, 11573, 18, 896, 8346, 858, 8575, 12, 5053, 1769, 3639, 6204, 2478, 273, 6204, 18, 588, 2996, 858, 2996, 559, 12, 2996, 559, 18, 17147, 55, 67, 19402, 1769, 3639, 309, 261, 4109, 1862, 18, 588, 1595, 858, 8346, 1876, 8018, 8449, 12, 12479, 16, 629, 16, 638, 2934, 1467, 1435, 422, 374, 13, 288, 5411, 399, 13798, 264, 6489, 27779, 273, 6175, 18, 588, 56, 13798, 264, 5621, 5411, 309, 261, 736, 27779, 422, 446, 13, 288, 7734, 512, 27520, 24539, 1340, 273, 6175, 18, 2 ]
return beginString; }
return beginString; }
public String getVersion() { return beginString; }
6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/cf7aed68fecf38e4edf304c63ec459dd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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 8343, 1435, 288, 202, 202, 2463, 2376, 780, 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 void set(org.quickfix.field.NestedPartySubID value)
public void set(quickfix.field.NestedPartySubID value)
public void set(org.quickfix.field.NestedPartySubID value) { setField(value); }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/TradeCaptureReport.java/buggy/src/java/src/quickfix/fix44/TradeCaptureReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 12, 19525, 904, 18, 1518, 18, 8649, 17619, 1676, 734, 460, 13, 225, 288, 16331, 12, 1132, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 12, 19525, 904, 18, 1518, 18, 8649, 17619, 1676, 734, 460, 13, 225, 288, 16331, 12, 1132, 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 ]
logger.debug(sessStr + "in CONTENT_LENGTH_BODY_STATE");
if (logger.isDebugEnabled()) { logger.debug(sessStr + "in CONTENT_LENGTH_BODY_STATE"); }
public ParseResult parse(ByteBuffer b) throws ParseException { cancelTimer(); if (logger.isDebugEnabled()) { logger.debug(sessStr + "parsing chunk: " + b); } List l = new LinkedList(); boolean done = false; while (!done) { switch (state) { case PRE_FIRST_LINE_STATE: { logger.debug(sessStr + "in PRE_FIRST_LINE_STATE"); lengthCounter = 0; if (b.hasRemaining() && completeLine(b)) { ByteBuffer d = b.duplicate(); byte b1 = d.get(); if (LF == b1 || d.hasRemaining() && CR == b1 && LF == d.get()) { b = null; done = true; } else { state = FIRST_LINE_STATE; } } else if (b.remaining() > maxRequestLine) { throw new ParseException("URI length exceeded: " + AsciiCharBuffer.wrap(b)); } else { if (b.capacity() < maxRequestLine) { ByteBuffer r = ByteBuffer.allocate(maxRequestLine); r.put(b); b = r; } else { b.compact(); } done = true; } break; } case FIRST_LINE_STATE: { // Initialize the buffer, we'll need it until // we're done with HEADER state. this.buf = new byte[maxUri]; logger.debug(sessStr + "in FIRST_LINE_STATE"); if (completeLine(b)) { l.add(firstLine(b)); state = ACCUMULATE_HEADER_STATE; } else { b.compact(); done = true; } break; } case ACCUMULATE_HEADER_STATE: { logger.debug(sessStr + "in ACCUMULATE_HEADER_STATE"); if (!completeHeader(b)) { if (b.capacity() < maxHeader) { ByteBuffer nb = ByteBuffer.allocate(maxHeader + 2); nb.put(b); nb.flip(); b = nb; } else if (b.remaining() >= maxHeader) { String msg = "header exceeds " + maxHeader + ":\n" + AsciiCharBuffer.wrap(b); if (blockLongHeaders) { logger.warn(msg); // XXX send error page instead session.shutdownClient(); session.shutdownServer(); return new ParseResult(); } else { // allow session to be released, or not throw new ParseException(msg); } } b.compact(); done = true; } else { state = HEADER_STATE; } break; } case HEADER_STATE: { logger.debug(sessStr + "in HEADER_STATE"); header = header(b); l.add(header); // Done with buf now this.buf = null; assert !b.hasRemaining(); if (!clientSide) { if (null != requestLineToken) { HttpMethod method = requestLineToken.getMethod(); if (HttpMethod.HEAD == method) { transferEncoding = NO_BODY; } } } else { HttpRequestEvent evt = new HttpRequestEvent (requestLineToken.getRequestLine(), header.getValue("host"), lengthCounter); } if (NO_BODY == transferEncoding) { state = END_MARKER_STATE; } else if (CLOSE_ENCODING == transferEncoding) { lineBuffering(false); b = null; state = CLOSED_BODY_STATE; done = true; } else if (CHUNKED_ENCODING == transferEncoding) { lineBuffering(true); b = null; state = CHUNK_LENGTH_STATE; done = true; } else if (CONTENT_LENGTH_ENCODING == transferEncoding) { lineBuffering(false); assert !b.hasRemaining(); if (0 < contentLength) { readLimit(contentLength); b = null; state = CONTENT_LENGTH_BODY_STATE; done = true; } else { state = END_MARKER_STATE; } } else { assert false; } break; } case CLOSED_BODY_STATE: { logger.debug(sessStr + "in CLOSED_BODY_STATE!"); l.add(closedBody(b)); b = null; done = true; break; } case CONTENT_LENGTH_BODY_STATE: { logger.debug(sessStr + "in CONTENT_LENGTH_BODY_STATE"); l.add(chunk(b)); if (0 == contentLength) { b = null; // XXX handle trailer state = END_MARKER_STATE; } else { readLimit(contentLength); b = null; done = true; } break; } case CHUNK_LENGTH_STATE: // chunk-size = 1*HEX { logger.debug(sessStr + "in CHUNK_LENGTH_STATE"); if (!completeLine(b)) { b.compact(); done = true; break; } contentLength = chunkLength(b); logger.debug(sessStr + "CHUNK contentLength = " + contentLength); if (0 == contentLength) { b = null; state = LAST_CHUNK_STATE; } else { lineBuffering(false); assert !b.hasRemaining(); readLimit(contentLength); b = null; state = CHUNK_BODY_STATE; } done = true; break; } case CHUNK_BODY_STATE: { logger.debug(sessStr + "in CHUNKED_BODY_STATE"); l.add(chunk(b)); if (0 == contentLength) { lineBuffering(true); b = null; state = CHUNK_END_STATE; } else { readLimit(contentLength); b = null; } done = true; break; } case CHUNK_END_STATE: { logger.debug(sessStr + "in END_CHUNK_STATE"); if (!completeLine(b)) { b.compact(); done = true; break; } eatCrLf(b); assert !b.hasRemaining(); b = null; done = true; state = CHUNK_LENGTH_STATE; break; } case LAST_CHUNK_STATE: // last-chunk = 1*("0") [ chunk-extension ] CRLF { logger.debug(sessStr + "in LAST_CHUNK_STATE"); if (!completeLine(b)) { b.compact(); done = true; break; } eatCrLf(b); assert !b.hasRemaining(); b = null; state = END_MARKER_STATE; break; } case END_MARKER_STATE: { logger.debug(sessStr + "in END_MARKER_STATE"); EndMarker endMarker = EndMarker.MARKER; l.add(endMarker); lineBuffering(true); b = null; state = PRE_FIRST_LINE_STATE; if (!clientSide) { String contentType = header.getValue("content-type"); String mimeType = null == contentType ? null : MimeType.getType(contentType); RequestLine rl = null == requestLineToken ? null : requestLineToken.getRequestLine(); if (null != rl) { HttpResponseEvent evt = new HttpResponseEvent (rl, mimeType, contentLength); casing.getTransform().log(evt); } } else { HttpRequestEvent evt = requestLineToken .getRequestLine() .getHttpRequestEvent(); evt.setContentLength(contentLength); if (null == evt.getRequestLine()) { logger.warn("null request for: " + getSession().pipelineEndpoints()); } casing.getTransform().log(evt); } // Free up header storage header = null; done = true; break; } default: assert false; } } if (logger.isDebugEnabled()) { logger.debug(sessStr + "returing readBuffer: " + b); } scheduleTimer(TIMEOUT); if (null != b && !b.hasRemaining()) { String msg = "b does not have remaining: " + b + " in state: " + state; logger.error(msg); throw new ParseException(msg); } return new ParseResult(l, b); }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/115e144444f9e3e5b13e66a4e36937ed2f6c876a/HttpParser.java/clean/tran/http/main/com/metavize/tran/http/HttpParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2884, 1253, 1109, 12, 12242, 324, 13, 1216, 10616, 565, 288, 3639, 3755, 6777, 5621, 3639, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 5411, 1194, 18, 4148, 12, 23828, 1585, 397, 315, 24979, 2441, 30, 315, 397, 324, 1769, 3639, 289, 3639, 987, 328, 273, 394, 10688, 5621, 3639, 1250, 2731, 273, 629, 31, 3639, 1323, 16051, 8734, 13, 288, 5411, 1620, 261, 2019, 13, 288, 5411, 648, 7071, 67, 15354, 67, 5997, 67, 7998, 30, 7734, 288, 10792, 1194, 18, 4148, 12, 23828, 1585, 397, 315, 267, 7071, 67, 15354, 67, 5997, 67, 7998, 8863, 10792, 769, 4789, 273, 374, 31, 10792, 309, 261, 70, 18, 5332, 11429, 1435, 597, 3912, 1670, 12, 70, 3719, 288, 13491, 7400, 302, 273, 324, 18, 17342, 5621, 13491, 1160, 324, 21, 273, 302, 18, 588, 5621, 13491, 309, 261, 9105, 422, 324, 21, 18701, 747, 302, 18, 5332, 11429, 1435, 597, 6732, 422, 324, 21, 597, 18803, 422, 302, 18, 588, 10756, 288, 18701, 324, 273, 446, 31, 18701, 2731, 273, 638, 31, 13491, 289, 469, 288, 18701, 919, 273, 21786, 67, 5997, 67, 7998, 31, 13491, 289, 10792, 289, 469, 309, 261, 70, 18, 17956, 1435, 405, 943, 691, 1670, 13, 288, 13491, 604, 394, 10616, 2932, 3098, 769, 12428, 30, 315, 4766, 1171, 397, 22475, 2835, 2156, 1892, 18, 4113, 12, 70, 10019, 10792, 289, 469, 288, 13491, 309, 261, 70, 18, 16017, 1435, 411, 943, 691, 1670, 13, 288, 18701, 7400, 436, 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, 2884, 1253, 1109, 12, 12242, 324, 13, 1216, 10616, 565, 288, 3639, 3755, 6777, 5621, 3639, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 5411, 1194, 18, 4148, 12, 23828, 1585, 397, 315, 24979, 2441, 30, 315, 397, 324, 1769, 3639, 289, 3639, 987, 328, 273, 394, 10688, 5621, 3639, 1250, 2731, 273, 629, 31, 3639, 1323, 16051, 8734, 13, 288, 5411, 1620, 261, 2019, 13, 288, 5411, 648, 7071, 67, 15354, 67, 5997, 67, 7998, 30, 7734, 288, 10792, 1194, 18, 4148, 12, 23828, 1585, 397, 315, 267, 7071, 67, 15354, 67, 5997, 67, 7998, 8863, 10792, 769, 4789, 273, 374, 31, 10792, 309, 261, 70, 18, 5332, 11429, 1435, 597, 3912, 1670, 12, 70, 2 ]
this.getViewer().setCursor( null );
if (isActive()) { this.getViewer().setCursor( null ); }
public void eraseTargetFeedback( Request request) { this.getViewer().setCursor( null ); super.eraseTargetFeedback( request ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/d83e9ce357552ccee889709a0e69d109f4dcfa0b/TableCellEditPart.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/TableCellEditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 22038, 2326, 15888, 12, 1567, 590, 13, 202, 95, 202, 565, 333, 18, 588, 18415, 7675, 542, 6688, 12, 446, 11272, 202, 565, 2240, 18, 264, 448, 2326, 15888, 12, 590, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 22038, 2326, 15888, 12, 1567, 590, 13, 202, 95, 202, 565, 333, 18, 588, 18415, 7675, 542, 6688, 12, 446, 11272, 202, 565, 2240, 18, 264, 448, 2326, 15888, 12, 590, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return threadPolicy != null &&
return threadPolicy != null &&
protected boolean isSingleThreadModel() { return threadPolicy != null && threadPolicy.value() == ThreadPolicyValue.SINGLE_THREAD_MODEL; }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/a74dc4ac69615c8e503cb9145c3594f1702d4c75/POA.java/buggy/src/org/jacorb/poa/POA.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 27643, 3830, 1488, 1435, 377, 288, 3639, 327, 2650, 2582, 480, 446, 597, 2398, 2650, 2582, 18, 1132, 1435, 422, 4884, 2582, 620, 18, 20184, 67, 21730, 67, 17391, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 27643, 3830, 1488, 1435, 377, 288, 3639, 327, 2650, 2582, 480, 446, 597, 2398, 2650, 2582, 18, 1132, 1435, 422, 4884, 2582, 620, 18, 20184, 67, 21730, 67, 17391, 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 ]
+ ") " + Default.ucd.getName(cc));
+ ") " + Default.ucd().getName(cc));
static void writeLine(String cc, PrintWriter log, boolean check) { String c = Default.nfc.normalize(cc); String d = Default.nfd.normalize(cc); String kc = Default.nfkc.normalize(cc); String kd = Default.nfkd.normalize(cc); if (check & cc.equals(c) && cc.equals(d) && cc.equals(kc) && cc.equals(kd)) return; // consistency check String dc = Default.nfd.normalize(c); String dkc = Default.nfd.normalize(kc); if (!dc.equals(d) || !dkc.equals(kd)) { System.out.println("Danger Will Robinson!"); Normalizer.SHOW_PROGRESS = true; d = Default.nfd.normalize(cc); } // printout log.println( Utility.hex(cc," ") + ";" + Utility.hex(c," ") + ";" + Utility.hex(d," ") + ";" + Utility.hex(kc," ") + ";" + Utility.hex(kd," ") + "; # (" + comma(cc) + "; " + comma(c) + "; " + comma(d) + "; " + comma(kc) + "; " + comma(kd) + "; " + ") " + Default.ucd.getName(cc)); }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/d1ef79fafdbbeaaf4dcbaa9d3c534754c217d955/GenerateData.java/buggy/tools/unicodetools/com/ibm/text/UCD/GenerateData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 18360, 12, 780, 4946, 16, 14071, 613, 16, 1250, 866, 13, 288, 3639, 514, 276, 273, 2989, 18, 82, 7142, 18, 12237, 12, 952, 1769, 3639, 514, 302, 273, 2989, 18, 82, 8313, 18, 12237, 12, 952, 1769, 3639, 514, 22154, 273, 2989, 18, 82, 23120, 71, 18, 12237, 12, 952, 1769, 3639, 514, 417, 72, 273, 2989, 18, 82, 23120, 72, 18, 12237, 12, 952, 1769, 3639, 309, 261, 1893, 473, 4946, 18, 14963, 12, 71, 13, 597, 4946, 18, 14963, 12, 72, 13, 597, 4946, 18, 14963, 12, 79, 71, 13, 597, 4946, 18, 14963, 12, 79, 72, 3719, 327, 31, 3639, 368, 14297, 866, 3639, 514, 6744, 273, 2989, 18, 82, 8313, 18, 12237, 12, 71, 1769, 3639, 514, 20320, 71, 273, 2989, 18, 82, 8313, 18, 12237, 12, 79, 71, 1769, 3639, 309, 16051, 7201, 18, 14963, 12, 72, 13, 747, 401, 2883, 71, 18, 14963, 12, 79, 72, 3719, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 40, 11455, 9980, 19686, 267, 816, 4442, 1769, 5411, 8769, 1824, 18, 16677, 67, 24022, 273, 638, 31, 5411, 302, 273, 2989, 18, 82, 8313, 18, 12237, 12, 952, 1769, 3639, 289, 3639, 368, 1172, 659, 3639, 613, 18, 8222, 12, 5411, 13134, 18, 7118, 12, 952, 10837, 9369, 397, 11430, 397, 13134, 18, 7118, 12, 71, 10837, 9369, 397, 11430, 397, 13134, 18, 7118, 12, 72, 10837, 9369, 397, 11430, 5411, 397, 13134, 18, 7118, 12, 79, 71, 10837, 9369, 397, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 18360, 12, 780, 4946, 16, 14071, 613, 16, 1250, 866, 13, 288, 3639, 514, 276, 273, 2989, 18, 82, 7142, 18, 12237, 12, 952, 1769, 3639, 514, 302, 273, 2989, 18, 82, 8313, 18, 12237, 12, 952, 1769, 3639, 514, 22154, 273, 2989, 18, 82, 23120, 71, 18, 12237, 12, 952, 1769, 3639, 514, 417, 72, 273, 2989, 18, 82, 23120, 72, 18, 12237, 12, 952, 1769, 3639, 309, 261, 1893, 473, 4946, 18, 14963, 12, 71, 13, 597, 4946, 18, 14963, 12, 72, 13, 597, 4946, 18, 14963, 12, 79, 71, 13, 597, 4946, 18, 14963, 12, 79, 72, 3719, 327, 31, 3639, 368, 14297, 866, 3639, 514, 6744, 273, 2989, 18, 82, 8313, 18, 2 ]
ref.append( line ).append( "\n" );
ref.append( line ).append('\n');
public void run(FCPConnectionHandler handler, Node node) throws MessageInvalidException { String urlString = fs.get("URL"); String fileString = fs.get("File"); StringBuffer ref = null; BufferedReader in; if(urlString != null) { try { URL url = new URL(urlString); URLConnection uc = url.openConnection(); in = new BufferedReader( new InputStreamReader(uc.getInputStream())); ref = new StringBuffer(1024); String line; while((line = in.readLine()) != null) { line = line.trim(); ref.append( line ).append( "\n" ); } in.close(); } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.URL_PARSE_ERROR, "Error parsing ref URL <"+urlString+">: "+e.getMessage(), null); } catch (IOException e) { throw new MessageInvalidException(ProtocolErrorMessage.URL_PARSE_ERROR, "IO error while retrieving ref URL <"+urlString+">: "+e.getMessage(), null); } ref = new StringBuffer(ref.toString().trim()); if(ref == null) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing ref from URL <"+urlString+">", null); } if(ref.equals("")) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing ref from URL <"+urlString+">", null); } try { fs = new SimpleFieldSet(ref.toString(), true); } catch (IOException e) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing ref from URL <"+urlString+">: "+e.getMessage(), null); } } else if(fileString != null) { File f = new File(fileString); if(!f.isFile()) { throw new MessageInvalidException(ProtocolErrorMessage.NOT_A_FILE_ERROR, "The given ref file path <"+fileString+"> is not a file", null); } try { in = new BufferedReader(new FileReader(f)); ref = new StringBuffer(1024); String line; while((line = in.readLine()) != null) { line = line.trim(); ref.append( line ).append( "\n" ); } in.close(); } catch (FileNotFoundException e) { throw new MessageInvalidException(ProtocolErrorMessage.FILE_NOT_FOUND, "File not found when retrieving ref file <"+fileString+">: "+e.getMessage(), null); } catch (IOException e) { throw new MessageInvalidException(ProtocolErrorMessage.FILE_PARSE_ERROR, "IO error while retrieving ref file <"+fileString+">: "+e.getMessage(), null); } ref = new StringBuffer(ref.toString().trim()); if(ref == null) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing ref from file <"+fileString+">", null); } if(ref.equals("")) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing ref from file <"+fileString+">", null); } try { fs = new SimpleFieldSet(ref.toString(), true); } catch (IOException e) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing ref from file <"+fileString+">: "+e.getMessage(), null); } } PeerNode pn; try { pn = new PeerNode(fs, node, false); } catch (FSParseException e) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing retrieved ref: "+e.getMessage(), null); } catch (PeerParseException e) { throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing retrieved ref: "+e.getMessage(), null); } catch (ReferenceSignatureVerificationException e) { // TODO: maybe a special ProtocolErrorMessage ? throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing retrieved ref: "+e.getMessage(), null); } // **FIXME** Handle duplicates somehow maybe? What about when node.addDarknetConnection() fails for some reason? if(node.addDarknetConnection(pn)) System.out.println("Added peer: "+pn); handler.outputHandler.queue(new Peer(pn, true, true)); }
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/62fd59041864b4ed1f43adc676de6bfb5ea977f3/AddPeer.java/clean/src/freenet/node/fcp/AddPeer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 12, 42, 4258, 1952, 1503, 1838, 16, 2029, 756, 13, 1216, 2350, 1941, 503, 288, 202, 202, 780, 29374, 273, 2662, 18, 588, 2932, 1785, 8863, 202, 202, 780, 585, 780, 273, 2662, 18, 588, 2932, 812, 8863, 202, 202, 780, 1892, 1278, 273, 446, 31, 202, 202, 17947, 2514, 316, 31, 202, 202, 430, 12, 718, 780, 480, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 1785, 880, 273, 394, 1976, 12, 718, 780, 1769, 9506, 202, 14790, 6232, 273, 880, 18, 3190, 1952, 5621, 9506, 202, 267, 273, 394, 10633, 12, 394, 15322, 12, 5286, 18, 588, 4348, 1435, 10019, 9506, 202, 1734, 273, 394, 6674, 12, 2163, 3247, 1769, 9506, 202, 780, 980, 31, 9506, 202, 17523, 12443, 1369, 273, 316, 18, 896, 1670, 10756, 480, 446, 13, 288, 6862, 202, 1369, 273, 980, 18, 5290, 5621, 6862, 202, 1734, 18, 6923, 12, 980, 262, 18, 6923, 12, 1548, 82, 6, 11272, 9506, 202, 97, 9506, 202, 267, 18, 4412, 5621, 1082, 202, 97, 1044, 261, 18695, 20160, 425, 13, 288, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 1785, 67, 21045, 67, 3589, 16, 315, 668, 5811, 1278, 1976, 411, 6, 15, 718, 780, 15, 6441, 30, 13773, 73, 18, 24906, 9334, 446, 1769, 1082, 202, 97, 1044, 261, 14106, 425, 13, 288, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 1785, 67, 21045, 67, 3589, 16, 315, 4294, 555, 1323, 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, 1086, 12, 42, 4258, 1952, 1503, 1838, 16, 2029, 756, 13, 1216, 2350, 1941, 503, 288, 202, 202, 780, 29374, 273, 2662, 18, 588, 2932, 1785, 8863, 202, 202, 780, 585, 780, 273, 2662, 18, 588, 2932, 812, 8863, 202, 202, 780, 1892, 1278, 273, 446, 31, 202, 202, 17947, 2514, 316, 31, 202, 202, 430, 12, 718, 780, 480, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 1785, 880, 273, 394, 1976, 12, 718, 780, 1769, 9506, 202, 14790, 6232, 273, 880, 18, 3190, 1952, 5621, 9506, 202, 267, 273, 394, 10633, 12, 394, 15322, 12, 5286, 18, 588, 4348, 1435, 10019, 9506, 202, 1734, 273, 394, 6674, 12, 2163, 3247, 1769, 9506, 2 ]
private void romanToWords(String romanString) { String punctuation = (String) tokenItem.findFeature("p.punc"); if (punctuation.equals("")) { /* no preceeding punctuation */ String n = String.valueOf(NumberExpander.expandRoman(romanString)); if (kingLike(tokenItem)) { wordRelation.addWord("the"); NumberExpander.expandOrdinal(n, wordRelation); } else if (sectionLike(tokenItem)) { NumberExpander.expandNumber(n, wordRelation); } else { NumberExpander.expandLetters(romanString, wordRelation); } } else { NumberExpander.expandLetters(romanString, wordRelation); }
private void romanToWords(WordRelation wordRelation, Item tokenItem, String romanString) { String punctuation = (String) tokenItem.findFeature("p.punc"); if (punctuation.equals("")) { /* no preceeding punctuation */ String n = String.valueOf(NumberExpander.expandRoman(romanString)); if (kingLike(tokenItem)) { wordRelation.addWord(tokenItem, "the"); NumberExpander.expandOrdinal(n, wordRelation); } else if (sectionLike(tokenItem)) { NumberExpander.expandNumber(n, wordRelation); } else { NumberExpander.expandLetters(romanString, wordRelation); } } else { NumberExpander.expandLetters(romanString, wordRelation); }
private void romanToWords(String romanString) { String punctuation = (String) tokenItem.findFeature("p.punc"); if (punctuation.equals("")) { /* no preceeding punctuation */ String n = String.valueOf(NumberExpander.expandRoman(romanString)); if (kingLike(tokenItem)) { wordRelation.addWord("the"); NumberExpander.expandOrdinal(n, wordRelation); } else if (sectionLike(tokenItem)) { NumberExpander.expandNumber(n, wordRelation); } else { NumberExpander.expandLetters(romanString, wordRelation); } } else { NumberExpander.expandLetters(romanString, wordRelation); } }
49846 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49846/6a55df45b5e749262e5610405145a505d38c6c9e/TokenToWords.java/clean/java/de/dfki/lt/mary/modules/en/TokenToWords.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 24137, 304, 774, 7363, 12, 780, 24137, 304, 780, 13, 288, 202, 780, 22472, 273, 261, 780, 13, 1147, 1180, 18, 4720, 4595, 2932, 84, 18, 84, 551, 8863, 202, 202, 430, 261, 84, 15726, 18, 14963, 2932, 6, 3719, 288, 202, 565, 1748, 1158, 675, 5288, 310, 22472, 1195, 202, 565, 514, 290, 273, 514, 18, 1132, 951, 12, 1854, 12271, 264, 18, 12320, 54, 362, 304, 12, 520, 304, 780, 10019, 202, 377, 202, 565, 309, 261, 79, 310, 8804, 12, 2316, 1180, 3719, 288, 202, 202, 1095, 3963, 18, 1289, 3944, 2932, 5787, 8863, 202, 202, 1854, 12271, 264, 18, 12320, 22830, 12, 82, 16, 2076, 3963, 1769, 202, 565, 289, 469, 309, 261, 3464, 8804, 12, 2316, 1180, 3719, 288, 202, 202, 1854, 12271, 264, 18, 12320, 1854, 12, 82, 16, 2076, 3963, 1769, 202, 565, 289, 469, 288, 202, 202, 1854, 12271, 264, 18, 12320, 24181, 5432, 12, 520, 304, 780, 16, 2076, 3963, 1769, 202, 565, 289, 202, 97, 469, 288, 202, 565, 3588, 12271, 264, 18, 12320, 24181, 5432, 12, 520, 304, 780, 16, 2076, 3963, 1769, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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720, 4595, 2932, 84, 18, 84, 551, 8863, 202, 202, 430, 261, 84, 15726, 18, 14963, 2932, 6, 3719, 288, 202, 565, 1748, 1158, 675, 5288, 310, 22472, 1195, 202, 565, 514, 290, 273, 514, 18, 1132, 951, 12, 1854, 12271, 264, 18, 12320, 54, 362, 304, 12, 520, 304, 780, 10019, 202, 377, 202, 565, 309, 261, 79, 310, 8804, 12, 2316, 1180, 3719, 288, 202, 202, 1095, 3963, 18, 1289, 3944, 2932, 5787, 8863, 202, 202, 1854, 12271, 264, 18, 12320, 22830, 12, 82, 16, 2076, 3963, 1769, 202, 565, 289, 469, 309, 2 ]
if ( KoLRequest.sessionID == null )
if ( KoLRequest.sessionId == null )
public static void showDisplay() { if ( KoLRequest.sessionID == null ) { KoLFrame.createDisplay( LoginFrame.class ); return; } if ( existingFrames.isEmpty() ) { KoLmafiaGUI.constructFrame( "LocalRelayServer" ); return; } KoLFrame [] frames = new KoLFrame[ existingFrames.size() ]; existingFrames.toArray( frames ); String interfaceSetting = StaticEntity.getGlobalProperty( "initialDesktop" ); for ( int i = 0; i < frames.length; ++i ) { if ( interfaceSetting.indexOf( frames[i].getFrameName() ) == -1 ) { frames[i].pack(); frames[i].setVisible( true ); frames[i].setExtendedState( KoLFrame.NORMAL ); } } if ( KoLDesktop.instanceExists() ) { KoLDesktop.getInstance().pack(); KoLDesktop.getInstance().setVisible( true ); KoLDesktop.getInstance().setExtendedState( KoLFrame.NORMAL ); } }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/db652071b06715a4456f702f081fbe5b47aa5a70/SystemTrayFrame.java/clean/src/net/sourceforge/kolmafia/SystemTrayFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2405, 4236, 1435, 202, 95, 202, 202, 430, 261, 1475, 83, 48, 691, 18, 17255, 422, 446, 262, 202, 202, 95, 1082, 202, 47, 83, 48, 3219, 18, 2640, 4236, 12, 11744, 3219, 18, 1106, 11272, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 430, 261, 2062, 15162, 18, 291, 1921, 1435, 262, 202, 202, 95, 1082, 202, 47, 83, 48, 81, 1727, 1155, 43, 5370, 18, 10062, 3219, 12, 315, 2042, 27186, 2081, 6, 11272, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 47, 83, 48, 3219, 5378, 7793, 273, 394, 1475, 83, 48, 3219, 63, 2062, 15162, 18, 1467, 1435, 308, 31, 202, 202, 11711, 15162, 18, 31447, 12, 7793, 11272, 202, 202, 780, 1560, 5568, 273, 10901, 1943, 18, 588, 5160, 1396, 12, 315, 6769, 27583, 6, 11272, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 7793, 18, 2469, 31, 965, 77, 262, 202, 202, 95, 1082, 202, 430, 261, 1560, 5568, 18, 31806, 12, 7793, 63, 77, 8009, 588, 3219, 461, 1435, 262, 422, 300, 21, 262, 1082, 202, 95, 9506, 202, 10278, 63, 77, 8009, 2920, 5621, 9506, 202, 10278, 63, 77, 8009, 542, 6207, 12, 638, 11272, 9506, 202, 10278, 63, 77, 8009, 542, 11456, 1119, 12, 1475, 83, 48, 3219, 18, 15480, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 430, 261, 1475, 83, 48, 27583, 18, 1336, 4002, 1435, 262, 202, 202, 95, 1082, 202, 47, 83, 48, 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, 2405, 4236, 1435, 202, 95, 202, 202, 430, 261, 1475, 83, 48, 691, 18, 17255, 422, 446, 262, 202, 202, 95, 1082, 202, 47, 83, 48, 3219, 18, 2640, 4236, 12, 11744, 3219, 18, 1106, 11272, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 430, 261, 2062, 15162, 18, 291, 1921, 1435, 262, 202, 202, 95, 1082, 202, 47, 83, 48, 81, 1727, 1155, 43, 5370, 18, 10062, 3219, 12, 315, 2042, 27186, 2081, 6, 11272, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 47, 83, 48, 3219, 5378, 7793, 273, 394, 1475, 83, 48, 3219, 63, 2062, 15162, 18, 1467, 1435, 308, 31, 202, 202, 11711, 15162, 18, 31447, 12, 7793, 2 ]
return name; }
return name; }
public String getName() { return name; }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/QueryTag.java/buggy/src/main/mondrian/web/taglib/QueryTag.java
[ 1, 8585, 326, 22398, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1723, 1435, 288, 202, 202, 2463, 508, 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, -100 ]
public void run() { try { final ISourceViewer viewer= getSourceViewer(); final IDocument document= viewer.getDocument(); int position= widgetOffset2ModelOffset(viewer, viewer.getTextWidget().getCaretOffset()); // Check whether we are in a java code partition and the preference is enabled final IPreferenceStore store= getPreferenceStore(); final ITypedRegion region= TextUtilities.getPartition(document, IJavaPartitions.JAVA_PARTITIONING, position, false); if (!store.getBoolean(PreferenceConstants.EDITOR_SUB_WORD_NAVIGATION)) { super.run(); return; } // Check whether right hand character of caret is valid identifier start if (Character.isJavaIdentifierStart(document.getChar(position))) { int offset= 0; int order= CollationElementIterator.NULLORDER; short previous= Short.MAX_VALUE; short next= Short.MAX_VALUE; // Acquire collator for partition around caret final String buffer= document.get(position, region.getOffset() + region.getLength() - position); final CollationElementIterator iterator= fCollator.getCollationElementIterator(buffer); // Iterate to first upper-case character do { // Check whether we reached end of word offset= iterator.getOffset(); if (!Character.isJavaIdentifierPart(document.getChar(position + offset))) throw new BadLocationException(); // Test next characters order= iterator.next(); next= CollationElementIterator.tertiaryOrder(order); if (next <= previous) previous= next; else break; } while (order != CollationElementIterator.NULLORDER); // Check for leading underscores position += offset; if (Character.getType(document.getChar(position - 1)) != Character.CONNECTOR_PUNCTUATION) { setCaretPosition(position); getTextWidget().showSelection(); fireSelectionChanged(); return; } } } catch (BadLocationException exception) { // Use default behavior } super.run(); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/e0a49b04e3499f02c93ac9d6a4e35c77eb3e8aa8/JavaEditor.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 6459, 2681, 1435, 95, 1082, 202, 698, 95, 9506, 202, 6385, 45, 1830, 18415, 25256, 33, 588, 1830, 18415, 5621, 9506, 202, 6385, 734, 504, 650, 5457, 33, 25256, 18, 588, 2519, 5621, 6862, 202, 474, 3276, 33, 6587, 2335, 22, 1488, 2335, 12, 25256, 16, 25256, 18, 588, 1528, 4609, 7675, 588, 39, 20731, 2335, 10663, 6862, 1082, 202, 759, 1564, 3350, 2437, 1814, 834, 267, 4365, 1629, 710, 10534, 464, 451, 881, 6180, 291, 5745, 9506, 202, 6385, 45, 9624, 2257, 2233, 33, 588, 9624, 2257, 5621, 9506, 202, 6385, 1285, 6140, 5165, 6858, 33, 1528, 11864, 18, 588, 7003, 12, 5457, 16, 45, 5852, 13738, 18, 27264, 67, 15055, 7022, 1360, 16, 3276, 16, 5743, 1769, 9506, 202, 430, 12, 5, 2233, 18, 588, 5507, 12, 9624, 2918, 18, 13208, 67, 8362, 67, 7952, 67, 50, 5856, 3047, 2689, 3719, 95, 6862, 202, 9565, 18, 2681, 5621, 6862, 202, 2463, 31, 6862, 9506, 202, 97, 9506, 202, 759, 1564, 3350, 546, 370, 2031, 451, 464, 11560, 792, 71, 20731, 291, 877, 5644, 1937, 9506, 202, 430, 12, 7069, 18, 291, 5852, 3004, 1685, 12, 5457, 18, 588, 2156, 12, 3276, 3719, 15329, 6862, 202, 474, 3348, 33, 20, 31, 6862, 202, 474, 1019, 33, 13535, 367, 1046, 3198, 18, 8560, 7954, 31, 6862, 202, 6620, 11515, 33, 4897, 18, 6694, 67, 4051, 31, 6862, 202, 6620, 4285, 33, 4897, 18, 6694, 67, 4051, 31, 6862, 202, 759, 27761, 12910, 639, 1884, 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, 3196, 202, 482, 6459, 2681, 1435, 95, 1082, 202, 698, 95, 9506, 202, 6385, 45, 1830, 18415, 25256, 33, 588, 1830, 18415, 5621, 9506, 202, 6385, 734, 504, 650, 5457, 33, 25256, 18, 588, 2519, 5621, 6862, 202, 474, 3276, 33, 6587, 2335, 22, 1488, 2335, 12, 25256, 16, 25256, 18, 588, 1528, 4609, 7675, 588, 39, 20731, 2335, 10663, 6862, 1082, 202, 759, 1564, 3350, 2437, 1814, 834, 267, 4365, 1629, 710, 10534, 464, 451, 881, 6180, 291, 5745, 9506, 202, 6385, 45, 9624, 2257, 2233, 33, 588, 9624, 2257, 5621, 9506, 202, 6385, 1285, 6140, 5165, 6858, 33, 1528, 11864, 18, 588, 7003, 12, 5457, 16, 45, 5852, 13738, 18, 27264, 67, 15055, 7022, 1360, 16, 3276, 2 ]
returnValue = -Double.MIN_VALUE;
returnValue = -Double.MAX_VALUE;
public final double multiply(double val1, double val2) { double returnValue = val1 + val2; boolean overflowOccurred = false; // [ EBG: alternative... test the sign of each of val1 and // val2 and, if needed, the result. If val1 and val2 have // different signs, then overflow isn't an issue. If they have // the same sign and the result also has the same sign, then // operation was successful. if not, then an overflow occured, // in which case we can signal or just return MAX_VALUE ] if (val1 > 0) { if (val2 > (Double.MAX_VALUE - val1)) { overflowOccurred = true; returnValue = Double.MAX_VALUE; } } else if (val1 < 0) { if (val2 < ( -Double.MAX_VALUE - val1)) { overflowOccurred = true; returnValue = -Double.MIN_VALUE; } } if (overflowOccurred) { logger.info("********Overflow occurred while trying to log.multiply " + val1 + " and " + val2); } return returnValue; }
48839 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48839/242a7a52f1b95edb6fe1f3e5587c22668117e47b/LogMath.java/clean/sphinx4/edu/cmu/sphinx/util/LogMath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 1645, 10194, 12, 9056, 1244, 21, 16, 1645, 1244, 22, 13, 288, 202, 9056, 7750, 273, 1244, 21, 397, 1244, 22, 31, 202, 6494, 9391, 30096, 273, 629, 31, 202, 759, 306, 512, 30098, 30, 10355, 2777, 1842, 326, 1573, 434, 1517, 434, 1244, 21, 471, 202, 759, 1244, 22, 471, 16, 309, 3577, 16, 326, 563, 18, 971, 1244, 21, 471, 1244, 22, 1240, 202, 759, 3775, 21588, 16, 1508, 9391, 5177, 1404, 392, 5672, 18, 971, 2898, 1240, 202, 759, 326, 1967, 1573, 471, 326, 563, 2546, 711, 326, 1967, 1573, 16, 1508, 202, 759, 1674, 1703, 6873, 18, 309, 486, 16, 1508, 392, 9391, 16206, 16, 202, 759, 316, 1492, 648, 732, 848, 4277, 578, 2537, 327, 4552, 67, 4051, 308, 202, 430, 261, 1125, 21, 405, 374, 13, 288, 202, 565, 309, 261, 1125, 22, 405, 261, 5265, 18, 6694, 67, 4051, 300, 1244, 21, 3719, 288, 202, 202, 11512, 30096, 273, 638, 31, 202, 202, 2463, 620, 273, 3698, 18, 6694, 67, 4051, 31, 202, 565, 289, 202, 97, 469, 309, 261, 1125, 21, 411, 374, 13, 288, 202, 565, 309, 261, 1125, 22, 411, 261, 300, 5265, 18, 6694, 67, 4051, 300, 1244, 21, 3719, 288, 202, 202, 11512, 30096, 273, 638, 31, 202, 202, 2463, 620, 273, 300, 5265, 18, 6236, 67, 4051, 31, 202, 565, 289, 202, 97, 202, 430, 261, 11512, 30096, 13, 288, 202, 565, 1194, 18, 1376, 2932, 1644, 15526, 7841, 1323, 8374, 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, 727, 1645, 10194, 12, 9056, 1244, 21, 16, 1645, 1244, 22, 13, 288, 202, 9056, 7750, 273, 1244, 21, 397, 1244, 22, 31, 202, 6494, 9391, 30096, 273, 629, 31, 202, 759, 306, 512, 30098, 30, 10355, 2777, 1842, 326, 1573, 434, 1517, 434, 1244, 21, 471, 202, 759, 1244, 22, 471, 16, 309, 3577, 16, 326, 563, 18, 971, 1244, 21, 471, 1244, 22, 1240, 202, 759, 3775, 21588, 16, 1508, 9391, 5177, 1404, 392, 5672, 18, 971, 2898, 1240, 202, 759, 326, 1967, 1573, 471, 326, 563, 2546, 711, 326, 1967, 1573, 16, 1508, 202, 759, 1674, 1703, 6873, 18, 309, 486, 16, 1508, 392, 9391, 16206, 16, 202, 759, 316, 1492, 648, 732, 848, 2 ]
this.outputFileName = outputFileName; }
this.outputFileName = outputFileName; }
public void setOutputFileName(String outputFileName) { this.outputFileName = outputFileName; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/96a353c24553d31bf0a7d366711948039ba58560/Java2WSDLTask.java/buggy/modules/java2wsdl/src/org/apache/ws/java2wsdl/Java2WSDLTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 18113, 4771, 12, 780, 876, 4771, 13, 288, 5411, 333, 18, 2844, 4771, 273, 876, 4771, 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, 0, 0, 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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 30, 540, 1071, 918, 18113, 4771, 12, 780, 876, 4771, 13, 288, 5411, 333, 18, 2844, 4771, 273, 876, 4771, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IOfflineTaskHandler offlineHandler = connector.getOfflineTaskHandler();
ITaskDataHandler offlineHandler = connector.getTaskDataHandler();
public IStatus run(IProgressMonitor monitor) { monitor.beginTask("Opening Remote Task", 10); TaskRepository repository = TasksUiPlugin.getRepositoryManager().getRepository( repositoryKind, serverUrl); if (repository == null) { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { MessageDialog.openError(null, "Repository Not Found", "Could not find repository configuration for " + serverUrl + ". \nPlease set up repository via " + TaskRepositoriesView.NAME + "."); TasksUiUtil.openUrl(taskUrl); } }); return Status.OK_STATUS; } AbstractRepositoryConnector connector = TasksUiPlugin.getRepositoryManager().getRepositoryConnector(repositoryKind); try { IOfflineTaskHandler offlineHandler = connector.getOfflineTaskHandler(); if (offlineHandler != null) { // the following code was copied from SynchronizeTaskJob RepositoryTaskData downloadedTaskData = null; try { downloadedTaskData = offlineHandler.downloadTaskData(repository, taskId); TasksUiPlugin.getDefault().getTaskDataManager().put(downloadedTaskData); openEditor(repository, AbstractRepositoryTask.getHandle(repository.getUrl(), taskId), downloadedTaskData); } catch (final CoreException e) { if (e.getStatus().getException() instanceof UnrecognizedReponseException) { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { WebBrowserDialog.openAcceptAgreement(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), "Unrecognized response from server", e.getStatus().getMessage(), e.getStatus().getException() .getMessage()); MylarStatusHandler.log(e.getStatus()); } }); } else { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { MessageDialog.openInformation(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), TasksUiPlugin.TITLE_DIALOG, "Could not open repository task. Verify that a task with this ID exists and is accessible." + "\n\nException: " + e.getStatus().getException()); } }); } } } else { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { TasksUiUtil.openUrl(taskUrl); } }); } } finally { monitor.done(); } return new Status(IStatus.OK, TasksUiPlugin.PLUGIN_ID, IStatus.OK, "", null); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/03f3816483b487f20214837cafbbbb03ffc5336e/OpenRepositoryTaskJob.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/OpenRepositoryTaskJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 1082, 202, 10259, 18, 10086, 2174, 2932, 21378, 6304, 3837, 3113, 1728, 1769, 1082, 202, 2174, 3305, 3352, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 12, 6862, 202, 9071, 5677, 16, 1438, 1489, 1769, 1082, 202, 430, 261, 9071, 422, 446, 13, 288, 9506, 202, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 4236, 7675, 3810, 1905, 12, 2704, 10254, 1435, 288, 6862, 202, 482, 918, 1086, 1435, 288, 25083, 202, 1079, 6353, 18, 3190, 668, 12, 2011, 16, 315, 3305, 2288, 10750, 3113, 6862, 9506, 202, 6, 4445, 486, 1104, 3352, 1664, 364, 315, 397, 1438, 1489, 6862, 9506, 202, 15, 3552, 521, 82, 8496, 444, 731, 3352, 3970, 315, 397, 3837, 18429, 1767, 18, 1985, 397, 4585, 1769, 25083, 202, 6685, 13943, 1304, 18, 3190, 1489, 12, 4146, 1489, 1769, 6862, 202, 97, 9506, 202, 22938, 9506, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 1082, 202, 97, 25083, 202, 7469, 3305, 7487, 8703, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 7487, 12, 9071, 5677, 1769, 1082, 202, 698, 288, 9506, 202, 45, 23106, 2174, 1503, 13493, 1503, 273, 8703, 18, 588, 23106, 2174, 1503, 5621, 9506, 202, 430, 261, 23787, 1503, 480, 446, 13, 288, 6862, 202, 759, 326, 3751, 981, 1703, 9268, 628, 26535, 554, 2174, 2278, 6862, 202, 3305, 2174, 751, 13549, 2174, 751, 273, 446, 31, 6862, 202, 698, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 1082, 202, 10259, 18, 10086, 2174, 2932, 21378, 6304, 3837, 3113, 1728, 1769, 1082, 202, 2174, 3305, 3352, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 12, 6862, 202, 9071, 5677, 16, 1438, 1489, 1769, 1082, 202, 430, 261, 9071, 422, 446, 13, 288, 9506, 202, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 4236, 7675, 3810, 1905, 12, 2704, 10254, 1435, 288, 6862, 202, 482, 918, 1086, 1435, 288, 25083, 202, 1079, 6353, 18, 3190, 668, 12, 2011, 16, 315, 3305, 2288, 10750, 3113, 6862, 9506, 202, 6, 4445, 486, 1104, 3352, 1664, 364, 315, 397, 1438, 1489, 6862, 9506, 202, 15, 2 ]
assertEquals("#SAfe0014", rsmd.getTableName(1));
assertEquals("##SAfe0014", rsmd.getTableName(1));
public void testPreparedAndCallableCursors0014() throws Exception { Statement stmt = con.createStatement(); stmt.executeUpdate("CREATE TABLE #SAfe0014(id INT PRIMARY KEY)"); stmt.executeUpdate("INSERT INTO #SAfe0014 VALUES (1)"); stmt.executeUpdate("CREATE PROCEDURE #sp_SAfe0014(@P1 INT, @P2 INT) AS " + "SELECT id, @P2 FROM #SAfe0014 WHERE id=@P1"); stmt.close(); PreparedStatement ps = con.prepareStatement("SELECT id FROM #SAfe0014", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); ResultSet resultSet = ps.executeQuery(); // No warnings assertEquals(null, resultSet.getWarnings()); assertEquals(null, ps.getWarnings()); // Correct ResultSet assertTrue(resultSet.next()); assertEquals(1, resultSet.getInt(1)); assertTrue(!resultSet.next()); // Correct meta data ResultSetMetaData rsmd = resultSet.getMetaData(); assertEquals("id", rsmd.getColumnName(1)); assertEquals("#SAfe0014", rsmd.getTableName(1)); // Insert row resultSet.moveToInsertRow(); resultSet.updateInt(1, 2); resultSet.insertRow(); resultSet.moveToCurrentRow(); // Check correct row count resultSet.last(); assertEquals(2, resultSet.getRow()); resultSet.close(); ps.close(); ps = con.prepareStatement("SELECT id, ? FROM #SAfe0014 WHERE id = ?", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); ps.setInt(1, 5); ps.setInt(2, 1); resultSet = ps.executeQuery(); // No warnings assertEquals(null, resultSet.getWarnings()); assertEquals(null, ps.getWarnings()); // Correct ResultSet assertTrue(resultSet.next()); assertEquals(1, resultSet.getInt(1)); assertEquals(5, resultSet.getInt(2)); assertTrue(!resultSet.next()); // Correct meta data rsmd = resultSet.getMetaData(); assertEquals("id", rsmd.getColumnName(1)); assertEquals("#SAfe0014", rsmd.getTableName(1)); resultSet.close(); ps.close(); CallableStatement cs = con.prepareCall("{call #sp_SAfe0014(?,?)}", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); cs.setInt(1, 1); cs.setInt(2, 3); resultSet = cs.executeQuery(); // No warnings assertEquals(null, resultSet.getWarnings()); assertEquals(null, cs.getWarnings()); // Correct ResultSet assertTrue(resultSet.next()); assertEquals(1, resultSet.getInt(1)); assertEquals(3, resultSet.getInt(2)); assertTrue(!resultSet.next()); // Correct meta data rsmd = resultSet.getMetaData(); assertEquals("id", rsmd.getColumnName(1)); assertEquals("#SAfe0014", rsmd.getTableName(1)); resultSet.close(); cs.close(); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/711d47f475f1fc9d77fbce64a70d11606c38d145/SAfeTest.java/clean/src/test/net/sourceforge/jtds/test/SAfeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 15464, 1876, 11452, 2408, 87, 1383, 713, 3461, 1435, 1216, 1185, 288, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 1891, 2932, 9344, 7567, 468, 5233, 3030, 713, 3461, 12, 350, 6137, 20058, 5311, 2225, 1769, 3639, 3480, 18, 8837, 1891, 2932, 11356, 12421, 468, 5233, 3030, 713, 3461, 13477, 261, 21, 2225, 1769, 3639, 3480, 18, 8837, 1891, 2932, 9344, 4629, 23552, 4830, 468, 1752, 67, 5233, 3030, 713, 3461, 26964, 52, 21, 6137, 16, 632, 52, 22, 6137, 13, 5355, 315, 21821, 397, 315, 4803, 612, 16, 632, 52, 22, 4571, 468, 5233, 3030, 713, 3461, 4852, 612, 33, 36, 52, 21, 8863, 3639, 3480, 18, 4412, 5621, 3639, 16913, 4250, 273, 356, 18, 9366, 3406, 2932, 4803, 612, 4571, 468, 5233, 3030, 713, 3461, 3113, 4766, 10792, 10842, 18, 2399, 67, 2312, 14555, 67, 26753, 16325, 16, 4766, 10792, 10842, 18, 2248, 7509, 67, 3079, 11102, 2782, 1769, 3639, 10842, 12168, 273, 4250, 18, 8837, 1138, 5621, 3639, 368, 2631, 5599, 3639, 1815, 8867, 12, 2011, 16, 12168, 18, 588, 4312, 10663, 3639, 1815, 8867, 12, 2011, 16, 4250, 18, 588, 4312, 10663, 3639, 368, 30626, 10842, 3639, 1815, 5510, 12, 2088, 694, 18, 4285, 10663, 3639, 1815, 8867, 12, 21, 16, 12168, 18, 588, 1702, 12, 21, 10019, 3639, 1815, 5510, 12, 5, 2088, 694, 18, 4285, 10663, 3639, 368, 30626, 2191, 501, 3639, 10842, 6998, 3597, 1264, 273, 12168, 18, 588, 6998, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 15464, 1876, 11452, 2408, 87, 1383, 713, 3461, 1435, 1216, 1185, 288, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 1891, 2932, 9344, 7567, 468, 5233, 3030, 713, 3461, 12, 350, 6137, 20058, 5311, 2225, 1769, 3639, 3480, 18, 8837, 1891, 2932, 11356, 12421, 468, 5233, 3030, 713, 3461, 13477, 261, 21, 2225, 1769, 3639, 3480, 18, 8837, 1891, 2932, 9344, 4629, 23552, 4830, 468, 1752, 67, 5233, 3030, 713, 3461, 26964, 52, 21, 6137, 16, 632, 52, 22, 6137, 13, 5355, 315, 21821, 397, 315, 4803, 612, 16, 632, 52, 22, 4571, 468, 5233, 3030, 713, 3461, 4852, 612, 33, 36, 52, 21, 8863, 3639, 3480, 18, 4412, 5621, 2 ]
item.setQuantity(item.getQuantity() - quantityToKeep, dispatcher, this); quantityRemoved += quantityToKeep;
quantityRemoved += (item.getQuantity() - quantityToKeep); item.setQuantity(quantityToKeep, dispatcher, this);
public double ensureItemsTotalQuantity(List cartItems, LocalDispatcher dispatcher, double quantity) throws CartItemModifyException { double quantityRemoved = 0; // go through the items and reduce quantityToKeep by the item quantities until it is 0, then remove the remaining... double quantityToKeep = quantity; Iterator localIter = cartItems.iterator(); while (localIter.hasNext()) { ShoppingCartItem item = (ShoppingCartItem) localIter.next(); if (quantityToKeep > item.getQuantity()) { // quantityToKeep sufficient to keep it all... just reduce quantityToKeep and move on quantityToKeep = quantityToKeep - item.getQuantity(); } else { // there is more in this than we want to keep, so reduce the quantity, or remove altogether... if (quantityToKeep == 0) { // nothing left to keep, just remove it... this.removeCartItem(item, dispatcher); quantityRemoved += item.getQuantity(); } else { // there is some to keep, so reduce quantity by quantityToKeep, at this point we know we'll take up all of the rest of the quantityToKeep item.setQuantity(item.getQuantity() - quantityToKeep, dispatcher, this); quantityRemoved += quantityToKeep; quantityToKeep = 0; } } } return quantityRemoved; }
55411 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55411/3be422e863571b7755745f620be5392a40f5d9f1/ShoppingCart.java/clean/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 3387, 3126, 5269, 12035, 12, 682, 7035, 3126, 16, 3566, 6681, 7393, 16, 1645, 10457, 13, 1216, 17695, 1180, 11047, 503, 288, 3639, 1645, 10457, 10026, 273, 374, 31, 3639, 368, 1960, 3059, 326, 1516, 471, 5459, 10457, 774, 11523, 635, 326, 761, 10251, 1961, 3180, 518, 353, 374, 16, 1508, 1206, 326, 4463, 2777, 3639, 1645, 10457, 774, 11523, 273, 10457, 31, 3639, 4498, 1191, 2360, 273, 7035, 3126, 18, 9838, 5621, 3639, 1323, 261, 3729, 2360, 18, 5332, 2134, 10756, 288, 5411, 17568, 1382, 13006, 1180, 761, 273, 261, 7189, 1382, 13006, 1180, 13, 1191, 2360, 18, 4285, 5621, 13491, 309, 261, 16172, 774, 11523, 405, 761, 18, 588, 12035, 10756, 288, 7734, 368, 10457, 774, 11523, 18662, 358, 3455, 518, 777, 2777, 2537, 5459, 10457, 774, 11523, 471, 3635, 603, 5375, 10457, 774, 11523, 273, 10457, 774, 11523, 300, 761, 18, 588, 12035, 5621, 5411, 289, 469, 288, 7734, 368, 1915, 353, 1898, 316, 333, 2353, 732, 2545, 358, 3455, 16, 1427, 5459, 326, 10457, 16, 578, 1206, 3770, 717, 2437, 2777, 7734, 309, 261, 16172, 774, 11523, 422, 374, 13, 288, 10792, 368, 5083, 2002, 358, 3455, 16, 2537, 1206, 518, 2777, 10792, 333, 18, 4479, 13006, 1180, 12, 1726, 16, 7393, 1769, 10792, 10457, 10026, 1011, 761, 18, 588, 12035, 5621, 7734, 289, 469, 288, 10792, 368, 1915, 353, 2690, 358, 3455, 16, 1427, 5459, 10457, 635, 10457, 774, 11523, 16, 622, 333, 1634, 732, 5055, 732, 5614, 4862, 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, 1645, 3387, 3126, 5269, 12035, 12, 682, 7035, 3126, 16, 3566, 6681, 7393, 16, 1645, 10457, 13, 1216, 17695, 1180, 11047, 503, 288, 3639, 1645, 10457, 10026, 273, 374, 31, 3639, 368, 1960, 3059, 326, 1516, 471, 5459, 10457, 774, 11523, 635, 326, 761, 10251, 1961, 3180, 518, 353, 374, 16, 1508, 1206, 326, 4463, 2777, 3639, 1645, 10457, 774, 11523, 273, 10457, 31, 3639, 4498, 1191, 2360, 273, 7035, 3126, 18, 9838, 5621, 3639, 1323, 261, 3729, 2360, 18, 5332, 2134, 10756, 288, 5411, 17568, 1382, 13006, 1180, 761, 273, 261, 7189, 1382, 13006, 1180, 13, 1191, 2360, 18, 4285, 5621, 13491, 309, 261, 16172, 774, 11523, 405, 761, 18, 588, 12035, 10756, 288, 7734, 368, 2 ]
public byte[] getHostBytes() throws UnknownHostException { //check if the IP address is in numeric form or is it a hostname string if(Character.isDigit(hostname.charAt(hostname.length() - 1))) { //it should be an IP address //we may still need to check that its in proper form try { StringTokenizer tokenizer = new StringTokenizer(hostname,"."); String a = tokenizer.nextToken(); String b = tokenizer.nextToken(); String c = tokenizer.nextToken(); String d = tokenizer.nextToken(); int a1 = Integer.parseInt(a); int b1 = Integer.parseInt(b); int c1 = Integer.parseInt(c); int d1 = Integer.parseInt(d); byte[] retBytes = {(byte)a1, (byte)b1,(byte)c1,(byte)d1}; return retBytes; } catch(Exception e) { throw new UnknownHostException(); } } else { //it might be a domain name. //try to get its IP Address return InetAddress.getByName(hostname).getAddress(); //the above fn call might throw UnknownHostException, but thats what //we want in case of DNS failure } }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/41422245404c0fad8a30437d75fc29381b02be42/Endpoint.java/buggy/components/gnutella-core/src/main/java/com/limegroup/gnutella/Endpoint.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1160, 8526, 8580, 2160, 1435, 1216, 30592, 565, 288, 5411, 368, 1893, 309, 326, 2971, 1758, 353, 316, 6389, 646, 578, 353, 518, 279, 5199, 533, 3639, 309, 12, 7069, 18, 291, 10907, 12, 10358, 18, 3001, 861, 12, 10358, 18, 2469, 1435, 300, 404, 20349, 202, 95, 202, 565, 368, 305, 1410, 506, 392, 2971, 1758, 5411, 368, 1814, 2026, 4859, 1608, 358, 866, 716, 2097, 316, 5338, 646, 5411, 775, 5411, 288, 9079, 202, 780, 10524, 10123, 273, 394, 16370, 12, 10358, 10837, 1199, 1769, 7734, 514, 279, 273, 10123, 18, 4285, 1345, 5621, 7734, 514, 324, 273, 10123, 18, 4285, 1345, 5621, 7734, 514, 276, 273, 10123, 18, 4285, 1345, 5621, 7734, 514, 302, 273, 10123, 18, 4285, 1345, 5621, 7734, 509, 279, 21, 273, 2144, 18, 2670, 1702, 12, 69, 1769, 7734, 509, 324, 21, 273, 2144, 18, 2670, 1702, 12, 70, 1769, 7734, 509, 276, 21, 273, 2144, 18, 2670, 1702, 12, 71, 1769, 7734, 509, 302, 21, 273, 2144, 18, 2670, 1702, 12, 72, 1769, 7734, 1160, 8526, 325, 2160, 273, 288, 12, 7229, 13, 69, 21, 16, 261, 7229, 13, 70, 21, 16, 12, 7229, 13, 71, 21, 16, 12, 7229, 13, 72, 21, 20451, 7734, 327, 325, 2160, 31, 2868, 289, 5411, 1044, 12, 503, 425, 13, 5411, 288, 7734, 604, 394, 30592, 5621, 5411, 289, 2398, 202, 97, 3639, 469, 3639, 288, 5411, 368, 305, 4825, 506, 279, 2461, 508, 18, 5411, 368, 698, 358, 336, 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, 1160, 8526, 8580, 2160, 1435, 1216, 30592, 565, 288, 5411, 368, 1893, 309, 326, 2971, 1758, 353, 316, 6389, 646, 578, 353, 518, 279, 5199, 533, 3639, 309, 12, 7069, 18, 291, 10907, 12, 10358, 18, 3001, 861, 12, 10358, 18, 2469, 1435, 300, 404, 20349, 202, 95, 202, 565, 368, 305, 1410, 506, 392, 2971, 1758, 5411, 368, 1814, 2026, 4859, 1608, 358, 866, 716, 2097, 316, 5338, 646, 5411, 775, 5411, 288, 9079, 202, 780, 10524, 10123, 273, 394, 16370, 12, 10358, 10837, 1199, 1769, 7734, 514, 279, 273, 10123, 18, 4285, 1345, 5621, 7734, 514, 324, 273, 10123, 18, 4285, 1345, 5621, 7734, 514, 276, 273, 10123, 18, 4285, 1345, 5621, 7734, 514, 302, 2 ]
preparedStatementForUpdate_.setInput(i + 1, updatedColumns_[i]);
preparedStatementForUpdate_.setInput(paramNumber, updatedColumns_[i]);
private void updateRowX() throws java.sql.SQLException { checkForClosedResultSet(); if (isOnInsertRow_ || resultSetConcurrency_ == java.sql.ResultSet.CONCUR_READ_ONLY) { throw new SqlException(agent_.logWriter_, "This method cannot be invoked while the cursor is on the insert " + "row or if the concurrency of this ResultSet object is CONCUR_READ_ONLY."); } // No-op if none of the columns were updated and updateRow() is called, just return. if (updatedColumns_ == null) { return; } if (preparedStatementForUpdate_ == null) { getPreparedStatementForUpdate(); } // build the inputs array for the prepared statement for update for (int i = 0; i < updatedColumns_.length; i++) { if (resultSetMetaData_.sqlxUpdatable_[i] == 1) { // column is updated either if the updatedColumns_ entry is not null, // or if the updatedColumns_ entry is null, but columnUpdated_ boolean is // set to true, which means columns is updated to a null. if (updatedColumns_[i] != null || (updatedColumns_[i] == null && columnUpdated_[i])) { preparedStatementForUpdate_.setInput(i + 1, updatedColumns_[i]); } else { // Check if the original column is null. Calling CrossConverters.setObject on a null // column causes "Data Conversion" Exception. Object originalObj = getObject(i + 1); if (originalObj == null) { preparedStatementForUpdate_.setInput(i + 1, null); } else { preparedStatementForUpdate_.setInput(i + 1, agent_.crossConverters_.setObject(resultSetMetaData_.types_[i], originalObj)); } } } } // need to cancel updates if the actual update was not successful at the server. // alternative is to check for updateCount_ in "positionToCurrentRowAndUpdate". // cancelRowUpdates if updateCount_ != 1, else set updateRowCalled_ to true. try { if (isRowsetCursor_ || sensitivity_ == sensitivity_sensitive_dynamic__) { update(); } else { positionToCurrentRowAndUpdate(); } updateRowCalled_ = true; } catch (SqlException e) { cancelRowUpdates(); throw e; } }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/f96f1b4cda7f0f73736511e2202d1be6937ca87e/ResultSet.java/buggy/java/client/org/apache/derby/client/am/ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 1999, 60, 1435, 1216, 2252, 18, 4669, 18, 23116, 288, 3639, 13855, 7395, 13198, 5621, 3639, 309, 261, 291, 1398, 4600, 1999, 67, 747, 12168, 18273, 67, 422, 2252, 18, 4669, 18, 13198, 18, 2248, 7509, 67, 6949, 67, 10857, 13, 288, 5411, 604, 394, 8855, 503, 12, 5629, 27799, 1330, 2289, 67, 16, 315, 2503, 707, 2780, 506, 8187, 1323, 326, 3347, 353, 603, 326, 2243, 315, 397, 10792, 315, 492, 578, 309, 326, 17752, 434, 333, 10842, 733, 353, 3492, 7509, 67, 6949, 67, 10857, 1199, 1769, 3639, 289, 3639, 368, 2631, 17, 556, 309, 6555, 434, 326, 2168, 4591, 3526, 471, 1089, 1999, 1435, 353, 2566, 16, 2537, 327, 18, 3639, 309, 261, 7007, 3380, 67, 422, 446, 13, 288, 5411, 327, 31, 3639, 289, 3639, 309, 261, 9366, 72, 3406, 28431, 67, 422, 446, 13, 288, 5411, 336, 29325, 28431, 5621, 3639, 289, 3639, 368, 1361, 326, 4540, 526, 364, 326, 8208, 3021, 364, 1089, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3526, 3380, 27799, 2469, 31, 277, 27245, 288, 5411, 309, 261, 2088, 694, 6998, 27799, 4669, 92, 1211, 3404, 429, 67, 63, 77, 65, 422, 404, 13, 288, 7734, 368, 1057, 353, 3526, 3344, 309, 326, 3526, 3380, 67, 1241, 353, 486, 446, 16, 7734, 368, 578, 309, 326, 3526, 3380, 67, 1241, 353, 446, 16, 1496, 1057, 7381, 67, 1250, 353, 7734, 368, 444, 358, 638, 16, 1492, 4696, 2168, 353, 3526, 358, 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, 1089, 1999, 60, 1435, 1216, 2252, 18, 4669, 18, 23116, 288, 3639, 13855, 7395, 13198, 5621, 3639, 309, 261, 291, 1398, 4600, 1999, 67, 747, 12168, 18273, 67, 422, 2252, 18, 4669, 18, 13198, 18, 2248, 7509, 67, 6949, 67, 10857, 13, 288, 5411, 604, 394, 8855, 503, 12, 5629, 27799, 1330, 2289, 67, 16, 315, 2503, 707, 2780, 506, 8187, 1323, 326, 3347, 353, 603, 326, 2243, 315, 397, 10792, 315, 492, 578, 309, 326, 17752, 434, 333, 10842, 733, 353, 3492, 7509, 67, 6949, 67, 10857, 1199, 1769, 3639, 289, 3639, 368, 2631, 17, 556, 309, 6555, 434, 326, 2168, 4591, 3526, 471, 1089, 1999, 1435, 353, 2566, 16, 2537, 327, 18, 3639, 309, 2 ]
ViewerSorter sorter = getSorter(); TreePath parentPath = internalGetSorterParentPath(parent, sorter);
ViewerComparator comparator = getComparator(); TreePath parentPath = internalGetSorterParentPath(parent, comparator);
protected int indexForElement(Widget parent, Object element) { ViewerSorter sorter = getSorter(); TreePath parentPath = internalGetSorterParentPath(parent, sorter); Item[] items = getChildren(parent); int count = items.length; if (sorter == null) { return count; } int min = 0, max = count - 1; while (min <= max) { int mid = (min + max) / 2; Object data = items[mid].getData(); int compare = internalCompare(sorter, parentPath, data, element); if (compare == 0) { // find first item > element while (compare == 0) { ++mid; if (mid >= count) { break; } data = items[mid].getData(); compare = internalCompare(sorter, parentPath, data, element); } return mid; } if (compare < 0) { min = mid + 1; } else { max = mid - 1; } } return min; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/d65c8bc5c0d3aafead5b1e576e57c11cb279f2ca/AbstractTreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 770, 1290, 1046, 12, 4609, 982, 16, 1033, 930, 13, 288, 3639, 4441, 264, 24952, 19867, 273, 1322, 4975, 5621, 3639, 4902, 743, 17743, 273, 2713, 967, 24952, 3054, 743, 12, 2938, 16, 19867, 1769, 9506, 202, 1180, 8526, 1516, 273, 10268, 12, 2938, 1769, 202, 202, 474, 1056, 273, 1516, 18, 2469, 31, 3639, 309, 261, 2467, 387, 422, 446, 13, 288, 1082, 202, 2463, 1056, 31, 202, 202, 97, 3639, 509, 1131, 273, 374, 16, 943, 273, 1056, 300, 404, 31, 3639, 1323, 261, 1154, 1648, 943, 13, 288, 5411, 509, 7501, 273, 261, 1154, 397, 943, 13, 342, 576, 31, 5411, 1033, 501, 273, 1516, 63, 13138, 8009, 588, 751, 5621, 5411, 509, 3400, 273, 2713, 8583, 12, 2467, 387, 16, 17743, 16, 501, 16, 930, 1769, 5411, 309, 261, 9877, 422, 374, 13, 288, 7734, 368, 1104, 1122, 761, 405, 930, 7734, 1323, 261, 9877, 422, 374, 13, 288, 10792, 965, 13138, 31, 10792, 309, 261, 13138, 1545, 1056, 13, 288, 13491, 898, 31, 10792, 289, 10792, 501, 273, 1516, 63, 13138, 8009, 588, 751, 5621, 10792, 3400, 273, 2713, 8583, 12, 2467, 387, 16, 17743, 16, 501, 16, 930, 1769, 7734, 289, 7734, 327, 7501, 31, 5411, 289, 5411, 309, 261, 9877, 411, 374, 13, 288, 9506, 202, 1154, 273, 7501, 397, 404, 31, 1082, 202, 97, 469, 288, 9506, 202, 1896, 273, 7501, 300, 404, 31, 1082, 202, 97, 3639, 289, 3639, 327, 1131, 31, 565, 289, 2, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 770, 1290, 1046, 12, 4609, 982, 16, 1033, 930, 13, 288, 3639, 4441, 264, 24952, 19867, 273, 1322, 4975, 5621, 3639, 4902, 743, 17743, 273, 2713, 967, 24952, 3054, 743, 12, 2938, 16, 19867, 1769, 9506, 202, 1180, 8526, 1516, 273, 10268, 12, 2938, 1769, 202, 202, 474, 1056, 273, 1516, 18, 2469, 31, 3639, 309, 261, 2467, 387, 422, 446, 13, 288, 1082, 202, 2463, 1056, 31, 202, 202, 97, 3639, 509, 1131, 273, 374, 16, 943, 273, 1056, 300, 404, 31, 3639, 1323, 261, 1154, 1648, 943, 13, 288, 5411, 509, 7501, 273, 261, 1154, 397, 943, 13, 342, 576, 31, 5411, 1033, 501, 273, 1516, 63, 13138, 8009, 588, 751, 5621, 5411, 509, 2 ]
myExpectation.addExpectedMany(expectedItems.elements()); myExpectation.setFailOnVerify();
myExpectation.addExpectedMany(expectedItems.elements()); myExpectation.setFailOnVerify();
public void testMultiFailureFromEnumeration() { Vector expectedItems = new Vector(); expectedItems.addElement("A"); expectedItems.addElement("B"); Vector actualItems = new Vector(); actualItems.addElement("A"); actualItems.addElement("C"); myExpectation.addExpectedMany(expectedItems.elements()); myExpectation.setFailOnVerify(); myExpectation.addActualMany(actualItems.elements()); AssertMo.assertVerifyFails(myExpectation); }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/AbstractTestExpectationCollection.java/buggy/jmock/core/src/test/jmock/expectation/AbstractTestExpectationCollection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 5002, 5247, 1265, 21847, 1435, 288, 202, 202, 5018, 2665, 3126, 273, 394, 5589, 5621, 202, 202, 3825, 3126, 18, 1289, 1046, 2932, 37, 8863, 202, 202, 3825, 3126, 18, 1289, 1046, 2932, 38, 8863, 202, 202, 5018, 3214, 3126, 273, 394, 5589, 5621, 202, 202, 18672, 3126, 18, 1289, 1046, 2932, 37, 8863, 202, 202, 18672, 3126, 18, 1289, 1046, 2932, 39, 8863, 202, 202, 4811, 11988, 367, 18, 1289, 6861, 5594, 12, 3825, 3126, 18, 6274, 10663, 202, 202, 4811, 11988, 367, 18, 542, 3754, 1398, 8097, 5621, 202, 202, 4811, 11988, 367, 18, 1289, 11266, 5594, 12, 18672, 3126, 18, 6274, 10663, 202, 202, 8213, 16727, 18, 11231, 8097, 30800, 12, 4811, 11988, 367, 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,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1842, 5002, 5247, 1265, 21847, 1435, 288, 202, 202, 5018, 2665, 3126, 273, 394, 5589, 5621, 202, 202, 3825, 3126, 18, 1289, 1046, 2932, 37, 8863, 202, 202, 3825, 3126, 18, 1289, 1046, 2932, 38, 8863, 202, 202, 5018, 3214, 3126, 273, 394, 5589, 5621, 202, 202, 18672, 3126, 18, 1289, 1046, 2932, 37, 8863, 202, 202, 18672, 3126, 18, 1289, 1046, 2932, 39, 8863, 202, 202, 4811, 11988, 367, 18, 1289, 6861, 5594, 12, 3825, 3126, 18, 6274, 10663, 202, 202, 4811, 11988, 367, 18, 542, 3754, 1398, 8097, 5621, 202, 202, 4811, 11988, 367, 18, 1289, 11266, 5594, 12, 18672, 3126, 18, 6274, 10663, 202, 202, 8213, 16727, 18, 11231, 8097, 30800, 12, 2 ]
System.out.println("Max CI Units " + numCIUnits); System.out.println("Unit table size " + unitTable.length);
logger.info("Max CI Units " + numCIUnits); logger.info("Unit table size " + unitTable.length);
public void dumpInfo() { System.out.println("Max CI Units " + numCIUnits); System.out.println("Unit table size " + unitTable.length); if (false) { for (int i = 0; i < unitTable.length; i++) { System.out.println("" + i + " " + unitTable[i]); } } }
7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/c43d21441a3a8beedeedd7aeaab48760d3ecd667/HMMPool.java/buggy/edu/cmu/sphinx/linguist/util/HMMPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4657, 966, 1435, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 2747, 17166, 27845, 315, 397, 818, 7266, 7537, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 2802, 1014, 963, 315, 397, 2836, 1388, 18, 2469, 1769, 3639, 309, 261, 5743, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2836, 1388, 18, 2469, 31, 277, 27245, 288, 7734, 2332, 18, 659, 18, 8222, 2932, 6, 397, 277, 397, 315, 315, 397, 2836, 1388, 63, 77, 19226, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4657, 966, 1435, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 2747, 17166, 27845, 315, 397, 818, 7266, 7537, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 2802, 1014, 963, 315, 397, 2836, 1388, 18, 2469, 1769, 3639, 309, 261, 5743, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2836, 1388, 18, 2469, 31, 277, 27245, 288, 7734, 2332, 18, 659, 18, 8222, 2932, 6, 397, 277, 397, 315, 315, 397, 2836, 1388, 63, 77, 19226, 5411, 289, 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 ]
secureParam = URLDecoder.decode(url.substring(startIndex, endIndex),Application.get().getSettings().getResponseRequestEncoding());
secureParam = URLDecoder.decode(url.substring(startIndex, endIndex),Application.get().getRequestCycleSettings().getResponseRequestEncoding());
public String decodeURL(final String url) { int startIndex = url.indexOf("x="); if(startIndex != -1) { startIndex = startIndex +2; final String secureParam; final int endIndex = url.indexOf("&", startIndex); try { if(endIndex == -1) { secureParam = URLDecoder.decode(url.substring(startIndex),Application.get().getSettings().getResponseRequestEncoding()); } else { secureParam = URLDecoder.decode(url.substring(startIndex, endIndex),Application.get().getSettings().getResponseRequestEncoding()); } } catch (UnsupportedEncodingException ex) { // should never happen throw new WicketRuntimeException(ex); } // Get the crypt implementation from the application final ICrypt urlCrypt = Application.get().getSecuritySettings().getCryptFactory().newCrypt(); // Decrypt the query string final String queryString = urlCrypt.decrypt(secureParam); // The querystring might have been shortened (length reduced). // In that case, lengthen the query string again. return rebuildUrl(queryString); } return url; }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/8294ee3b065bff22b5be9701606c00af9fd02f3d/WebRequestWithCryptedUrl.java/clean/wicket/src/java/wicket/protocol/http/WebRequestWithCryptedUrl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 2495, 1785, 12, 6385, 514, 880, 13, 202, 95, 202, 202, 474, 10588, 273, 880, 18, 31806, 2932, 92, 1546, 1769, 202, 202, 430, 12, 1937, 1016, 480, 300, 21, 13, 202, 202, 95, 1082, 202, 1937, 1016, 273, 10588, 397, 22, 31, 1082, 202, 6385, 514, 8177, 786, 31, 1082, 202, 6385, 509, 13818, 273, 880, 18, 31806, 2932, 10, 3113, 10588, 1769, 1082, 202, 698, 1082, 202, 95, 9506, 202, 430, 12, 409, 1016, 422, 300, 21, 13, 9506, 202, 95, 6862, 202, 8869, 786, 273, 1976, 7975, 18, 3922, 12, 718, 18, 28023, 12, 1937, 1016, 3631, 3208, 18, 588, 7675, 588, 2628, 7675, 588, 1064, 691, 4705, 10663, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 8869, 786, 273, 1976, 7975, 18, 3922, 12, 718, 18, 28023, 12, 1937, 1016, 16, 13818, 3631, 3208, 18, 588, 7675, 588, 2628, 7675, 588, 1064, 691, 4705, 10663, 9506, 202, 97, 1082, 202, 97, 1082, 202, 14683, 261, 8544, 13836, 431, 13, 1082, 202, 95, 9506, 202, 759, 1410, 5903, 5865, 9506, 202, 12849, 394, 678, 29378, 11949, 12, 338, 1769, 1082, 202, 97, 9506, 1875, 202, 759, 968, 326, 13231, 4471, 628, 326, 2521, 1082, 202, 6385, 467, 22815, 880, 22815, 273, 4257, 18, 588, 7675, 588, 4368, 2628, 7675, 588, 22815, 1733, 7675, 2704, 22815, 5621, 25083, 565, 368, 22411, 326, 843, 533, 1082, 202, 6385, 514, 11337, 273, 880, 22815, 18, 19790, 12, 8869, 786, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 2495, 1785, 12, 6385, 514, 880, 13, 202, 95, 202, 202, 474, 10588, 273, 880, 18, 31806, 2932, 92, 1546, 1769, 202, 202, 430, 12, 1937, 1016, 480, 300, 21, 13, 202, 202, 95, 1082, 202, 1937, 1016, 273, 10588, 397, 22, 31, 1082, 202, 6385, 514, 8177, 786, 31, 1082, 202, 6385, 509, 13818, 273, 880, 18, 31806, 2932, 10, 3113, 10588, 1769, 1082, 202, 698, 1082, 202, 95, 9506, 202, 430, 12, 409, 1016, 422, 300, 21, 13, 9506, 202, 95, 6862, 202, 8869, 786, 273, 1976, 7975, 18, 3922, 12, 718, 18, 28023, 12, 1937, 1016, 3631, 3208, 18, 588, 7675, 588, 2628, 7675, 588, 1064, 691, 4705, 10663, 9506, 202, 97, 2 ]
return status.isMultiStatus() || status.getException() instanceof CoreException;
return status.isMultiStatus() || status.getException() != null;
protected boolean shouldShowDetailsButton() { return status.isMultiStatus() || status.getException() instanceof CoreException; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/8e3a2d56b37c6206f6d8f00e9b0d20a8a1c410e5/ErrorDialog.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ErrorDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 1410, 5706, 3790, 3616, 1435, 288, 3639, 327, 1267, 18, 291, 5002, 1482, 1435, 747, 1267, 18, 588, 503, 1435, 480, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 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, 1250, 1410, 5706, 3790, 3616, 1435, 288, 3639, 327, 1267, 18, 291, 5002, 1482, 1435, 747, 1267, 18, 588, 503, 1435, 480, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (!initialized) { systemViewXML = QName.NS_SV_URI.equals(namespaceURI); if (systemViewXML) { targetHandler = new SysViewImportHandler(importer, nsContext); } else { targetHandler = new DocViewImportHandler(importer, nsContext); } targetHandler.startDocument(); initialized = true; }
targetHandler.startNamespaceContext(localNamespaceMappings); localNamespaceMappings.clear();
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException { // check if new context needs to be started if (!nsContextStarted) { // there hasn't been a preceeding startPrefixMapping event // so enter new namespace context nsContext.pushContext(); } else { // reset flag nsContextStarted = false; } if (!initialized) { // the namespace of the first element determines the type of XML // (system view/document view) systemViewXML = QName.NS_SV_URI.equals(namespaceURI); if (systemViewXML) { targetHandler = new SysViewImportHandler(importer, nsContext); } else { targetHandler = new DocViewImportHandler(importer, nsContext); } targetHandler.startDocument(); initialized = true; } // delegate to target handler targetHandler.startElement(namespaceURI, localName, qName, atts); }
48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/5e9b632fd59ddbb2d950417bb849b7ff41e56518/ImportHandler.java/clean/jackrabbit/src/main/java/org/apache/jackrabbit/core/xml/ImportHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 19421, 16, 514, 11927, 16, 514, 22914, 16, 11794, 9055, 15687, 13, 1216, 14366, 288, 3639, 368, 866, 309, 394, 819, 4260, 358, 506, 5746, 3639, 309, 16051, 2387, 1042, 9217, 13, 288, 5411, 368, 1915, 13342, 1404, 2118, 279, 675, 5288, 310, 787, 2244, 3233, 871, 5411, 368, 1427, 6103, 394, 1981, 819, 5411, 3153, 1042, 18, 6206, 1042, 5621, 3639, 289, 469, 288, 5411, 368, 2715, 2982, 5411, 3153, 1042, 9217, 273, 629, 31, 3639, 289, 3639, 309, 16051, 13227, 13, 288, 5411, 368, 326, 1981, 434, 326, 1122, 930, 12949, 326, 618, 434, 3167, 5411, 368, 261, 4299, 1476, 19, 5457, 1476, 13, 5411, 2619, 1767, 4201, 273, 16723, 18, 3156, 67, 23927, 67, 3098, 18, 14963, 12, 4937, 3098, 1769, 5411, 309, 261, 4299, 1767, 4201, 13, 288, 7734, 1018, 1503, 273, 394, 16995, 1767, 5010, 1503, 12, 381, 7988, 16, 3153, 1042, 1769, 5411, 289, 469, 288, 7734, 1018, 1503, 273, 394, 3521, 1767, 5010, 1503, 12, 381, 7988, 16, 3153, 1042, 1769, 5411, 289, 5411, 1018, 1503, 18, 1937, 2519, 5621, 5411, 6454, 273, 638, 31, 3639, 289, 3639, 368, 7152, 358, 1018, 1838, 3639, 1018, 1503, 18, 1937, 1046, 12, 4937, 3098, 16, 11927, 16, 22914, 16, 15687, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 19421, 16, 514, 11927, 16, 514, 22914, 16, 11794, 9055, 15687, 13, 1216, 14366, 288, 3639, 368, 866, 309, 394, 819, 4260, 358, 506, 5746, 3639, 309, 16051, 2387, 1042, 9217, 13, 288, 5411, 368, 1915, 13342, 1404, 2118, 279, 675, 5288, 310, 787, 2244, 3233, 871, 5411, 368, 1427, 6103, 394, 1981, 819, 5411, 3153, 1042, 18, 6206, 1042, 5621, 3639, 289, 469, 288, 5411, 368, 2715, 2982, 5411, 3153, 1042, 9217, 273, 629, 31, 3639, 289, 3639, 309, 16051, 13227, 13, 288, 5411, 368, 326, 1981, 434, 326, 1122, 930, 12949, 326, 618, 434, 3167, 5411, 368, 261, 4299, 1476, 19, 5457, 1476, 13, 5411, 2619, 1767, 4201, 273, 16723, 18, 2 ]
} else
} else
public void updateMatrixQuestionInSection(HttpServletRequest request){ HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); String name = request.getParameter("name"); String image = request.getParameter("image"); String questionText = request.getParameter("questionTxt"); int rowId = Integer.parseInt(request.getParameter("row")); rowId--; Object obj = session.getAttribute("answers"); ArrayList<String> answers = null; if(obj instanceof PersistentList){ Iterator iter = ((PersistentList) obj).iterator(); answers = new ArrayList<String>(); while(iter.hasNext()){ answers.add((String) iter.next()); } } else answers = (ArrayList<String>) session.getAttribute("answers"); obj = session.getAttribute("columns"); ArrayList<String> columns = null; if(obj instanceof PersistentList){ Iterator iter = ((PersistentList) obj).iterator(); columns = new ArrayList<String>(); while(iter.hasNext()){ columns.add((String) iter.next()); } } else columns = (ArrayList<String>) session.getAttribute("columns"); // now parse different params depending on the type RadioMatrixQuestion question = new RadioMatrixQuestion(columns.size(), answers.size()); question.setDescription(questionText); question.setSection(section); question.setTitle(name); question.setItems(answers); question.setColumnsTitles(columns); question.setImage(image); List<Question> quests = section.getQuestions(); quests.set(rowId, question); section.setQuestions(quests); session.setAttribute("currentSection", section); session.removeAttribute("answers"); session.removeAttribute("columns"); }
54385 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54385/1987aafdf9f6e92293bee44cf33ba906d200af2c/SurveyWebComponent.java/buggy/survey/src/java/ar/com/survey/web/component/SurveyWebComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 4635, 11665, 382, 5285, 12, 2940, 18572, 590, 15329, 202, 202, 2940, 2157, 1339, 273, 590, 18, 588, 2157, 5621, 202, 202, 5285, 2442, 273, 261, 5285, 13, 1339, 18, 588, 1499, 2932, 2972, 5285, 8863, 202, 202, 780, 508, 273, 590, 18, 588, 1662, 2932, 529, 8863, 202, 202, 780, 1316, 273, 590, 18, 588, 1662, 2932, 2730, 8863, 9506, 202, 780, 5073, 1528, 273, 590, 18, 588, 1662, 2932, 4173, 21811, 8863, 202, 202, 474, 26798, 273, 2144, 18, 2670, 1702, 12, 2293, 18, 588, 1662, 2932, 492, 7923, 1769, 202, 202, 492, 548, 413, 31, 9506, 202, 921, 1081, 273, 1339, 18, 588, 1499, 2932, 22340, 8863, 202, 202, 19558, 32, 780, 34, 12415, 273, 446, 31, 202, 202, 430, 12, 2603, 1276, 11049, 682, 15329, 1082, 202, 3198, 1400, 273, 14015, 11906, 682, 13, 1081, 2934, 9838, 5621, 1082, 202, 22340, 273, 394, 2407, 32, 780, 34, 5621, 1082, 202, 17523, 12, 2165, 18, 5332, 2134, 10756, 95, 9506, 202, 22340, 18, 1289, 12443, 780, 13, 1400, 18, 4285, 10663, 1082, 202, 97, 202, 202, 97, 469, 1875, 202, 22340, 273, 261, 19558, 32, 780, 23429, 1339, 18, 588, 1499, 2932, 22340, 8863, 9506, 202, 2603, 273, 1339, 18, 588, 1499, 2932, 5112, 8863, 202, 202, 19558, 32, 780, 34, 2168, 273, 446, 31, 202, 202, 430, 12, 2603, 1276, 11049, 682, 15329, 1082, 202, 3198, 1400, 273, 14015, 11906, 682, 13, 1081, 2934, 9838, 5621, 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, 482, 918, 1089, 4635, 11665, 382, 5285, 12, 2940, 18572, 590, 15329, 202, 202, 2940, 2157, 1339, 273, 590, 18, 588, 2157, 5621, 202, 202, 5285, 2442, 273, 261, 5285, 13, 1339, 18, 588, 1499, 2932, 2972, 5285, 8863, 202, 202, 780, 508, 273, 590, 18, 588, 1662, 2932, 529, 8863, 202, 202, 780, 1316, 273, 590, 18, 588, 1662, 2932, 2730, 8863, 9506, 202, 780, 5073, 1528, 273, 590, 18, 588, 1662, 2932, 4173, 21811, 8863, 202, 202, 474, 26798, 273, 2144, 18, 2670, 1702, 12, 2293, 18, 588, 1662, 2932, 492, 7923, 1769, 202, 202, 492, 548, 413, 31, 9506, 202, 921, 1081, 273, 1339, 18, 588, 1499, 2932, 22340, 8863, 202, 202, 19558, 32, 2 ]
parsePosition.setErrorIndex(oldStart);
private final boolean subparse(String text, ParsePosition parsePosition, DigitList digits, boolean isExponent, boolean status[]) { int position = parsePosition.getIndex(); int oldStart = parsePosition.getIndex(); int backup; // Match positive and negative prefixes; prefer longest match. int posMatch = compareAffix(positivePrefix, text, position); int negMatch = compareAffix(negativePrefix, text, position); if (posMatch >= 0 && negMatch >= 0) { if (posMatch > negMatch) { negMatch = -1; } else if (negMatch > posMatch) { posMatch = -1; } } if (posMatch >= 0) { position += posMatch; } else if (negMatch >= 0) { position += negMatch; } else { //PP:parsePosition.errorIndex = position; return false; } // process digits or Inf, find decimal position status[STATUS_INFINITE] = false; if (!isExponent && text.regionMatches(position,symbols.getInfinity(),0, symbols.getInfinity().length())) { position += symbols.getInfinity().length(); status[STATUS_INFINITE] = true; } else { // We now have a string of digits, possibly with grouping symbols, // and decimal points. We want to process these into a DigitList. // We don't want to put a bunch of leading zeros into the DigitList // though, so we keep track of the location of the decimal point, // put only significant digits into the DigitList, and adjust the // exponent as needed. digits.decimalAt = digits.count = 0; char zero = symbols.getZeroDigit(); char decimal = isCurrencyFormat ? symbols.getMonetaryDecimalSeparator() : symbols.getDecimalSeparator(); char grouping = symbols.getGroupingSeparator(); String exponentSep = symbols.getExponentSeparator(); boolean sawDecimal = false; boolean sawExponent = false; boolean sawDigit = false; int exponent = 0; // Set to the exponent value, if any int digit = 0; // We have to track digitCount ourselves, because digits.count will // pin when the maximum allowable digits is reached. int digitCount = 0; backup = -1; for (; position < text.length(); ++position) { char ch = text.charAt(position); /* We recognize all digit ranges, not only the Latin digit range * '0'..'9'. We do so by using the Character.digit() method, * which converts a valid Unicode digit to the range 0..9. * * The character 'ch' may be a digit. If so, place its value * from 0 to 9 in 'digit'. First try using the locale digit, * which may or MAY NOT be a standard Unicode digit range. If * this fails, try using the standard Unicode digit ranges by * calling Character.digit(). If this also fails, digit will * have a value outside the range 0..9. */ digit = ch - zero; if (digit < 0 || digit > 9) digit = Character.digit(ch, 10); if (digit == 0) { // Cancel out backup setting (see grouping handler below) backup = -1; // Do this BEFORE continue statement below!!! sawDigit = true; // Handle leading zeros if (digits.count == 0) { // Ignore leading zeros in integer part of number. if (!sawDecimal) continue; // If we have seen the decimal, but no significant digits yet, // then we account for leading zeros by decrementing the // digits.decimalAt into negative values. --digits.decimalAt; } else { ++digitCount; digits.append((char)(digit + '0')); } } else if (digit > 0 && digit <= 9) // [sic] digit==0 handled above { sawDigit = true; ++digitCount; digits.append((char)(digit + '0')); // Cancel out backup setting (see grouping handler below) backup = -1; } else if (!isExponent && ch == decimal) { // If we're only parsing integers, or if we ALREADY saw the // decimal, then don't parse this one. if (isParseIntegerOnly() || sawDecimal) break; digits.decimalAt = digitCount; // Not digits.count! sawDecimal = true; } else if (!isExponent && ch == grouping && isGroupingUsed()) { if (sawDecimal) { break; } // Ignore grouping characters, if we are using them, but require // that they be followed by a digit. Otherwise we backup and // reprocess them. backup = position; } else if (!isExponent && !sawExponent && text.regionMatches(position, exponentSep, 0, exponentSep.length())) { // Parse sign, if present boolean negExp = false; int pos = position + exponentSep.length(); if (pos < text.length()) { ch = text.charAt(pos); if (ch == symbols.getPlusSign()) { ++pos; } else if (ch == symbols.getMinusSign()) { ++pos; negExp = true; } } DigitList exponentDigits = new DigitList(); exponentDigits.count = 0; while (pos < text.length()) { digit = text.charAt(pos) - zero; if (digit < 0 || digit > 9) { /* Can't parse "[1E0]" when pattern is "0.###E0;[0.###E0]" Should update reassign the value of 'ch' in the code: digit = Character.digit(ch, 10); [Richard/GCL] */ digit = Character.digit(text.charAt(pos), 10); } if (digit >= 0 && digit <= 9) { exponentDigits.append((char)(digit + '0')); ++pos; } else { break; } } if (exponentDigits.count > 0) { exponentDigits.decimalAt = exponentDigits.count; exponent = (int) exponentDigits.getLong(); if (negExp) { exponent = -exponent; } position = pos; // Advance past the exponent sawExponent = true; } break; // Whether we fail or succeed, we exit this loop } else break; } if (backup != -1) position = backup; // If there was no decimal point we have an integer if (!sawDecimal) digits.decimalAt = digitCount; // Not digits.count! // Adjust for exponent, if any digits.decimalAt += exponent; // If none of the text string was recognized. For example, parse // "x" with pattern "#0.00" (return index and error index both 0) // parse "$" with pattern "$#0.00". (return index 0 and error index // 1). if (!sawDigit && digitCount == 0) { parsePosition.setIndex(oldStart); //PP:parsePosition.errorIndex = oldStart; return false; } } // Match positive and negative suffixes; prefer longest match. if (posMatch >= 0) { posMatch = compareAffix(positiveSuffix, text, position); } if (negMatch >= 0) { negMatch = compareAffix(negativeSuffix, text, position); } if (posMatch >= 0 && negMatch >= 0) { if (posMatch > negMatch) { negMatch = -1; } else if (negMatch > posMatch) { posMatch = -1; } } // Fail if neither or both if ((posMatch >= 0) == (negMatch >= 0)) { //PP:parsePosition.errorIndex = position; return false; } parsePosition.setIndex(position + (posMatch>=0 ? posMatch : negMatch)); status[STATUS_POSITIVE] = (posMatch >= 0); if (parsePosition.getIndex() == oldStart) { //PP:parsePosition.errorIndex = position; return false; } return true; }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/04654837b4a7c667293aa532d89d664e99fc6212/DecimalFormat.java/clean/icu4j/src/com/ibm/icu/text/DecimalFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 3238, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 727, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1250, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 720, 2670, 12, 780, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 977, 16, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 2884, 2555, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 16, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 3238, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 727, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1250, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 720, 2670, 12, 780, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 977, 16, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 2884, 2555, 2670, 2555, 18, 542, 668, 1016, 12, 1673, 1685, 1769, 1109, 2555, 16, 2670, 2555, 18, 542, 668, 2 ]
aEnvironment.iCurrentOutput.Write("Function not yet implemented : DllEnumerate");
aEnvironment.iCurrentOutput.Write("Function not yet implemented : DllEnumerate"); throw new Yacasexception("Function not yet supported");
public void Eval(LispEnvironment aEnvironment,int aStackTop) throws Exception { aEnvironment.iCurrentOutput.Write("Function not yet implemented : DllEnumerate");//TODO FIXME }
7272 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7272/be94246deecbac70cc4ce6861d9706a7cedcdd2f/MathCommands.java/clean/JavaYacas/MathCommands.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13163, 12, 48, 23831, 5494, 279, 5494, 16, 474, 279, 2624, 3401, 13, 1216, 1185, 565, 288, 1377, 279, 5494, 18, 77, 3935, 1447, 18, 3067, 2932, 2083, 486, 4671, 8249, 294, 463, 2906, 3572, 12600, 8863, 759, 6241, 9852, 565, 289, 2, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13163, 12, 48, 23831, 5494, 279, 5494, 16, 474, 279, 2624, 3401, 13, 1216, 1185, 565, 288, 1377, 279, 5494, 18, 77, 3935, 1447, 18, 3067, 2932, 2083, 486, 4671, 8249, 294, 463, 2906, 3572, 12600, 8863, 759, 6241, 9852, 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 ]
sizePenalization = 1/ (500*Math.pow(2,evo.config.maxDepth+1));
sizePenalization = 1/ (500*Math.pow(2, config.maxDepth+1));
private void init (Evolution evo) { this.evo = evo; /* How much each SNR is more important than the next one: * Must be smaller than 1/3 */ deltaSNR = evo.config.deltaSNR; continuityImportance = evo.config.continuityImportance; //How much important is voice over silence: kHR1 = evo.config.kHR1; sizePenalization = 1/ (500*Math.pow(2,evo.config.maxDepth+1)); results = new double[evo.dataHolder.nSamples]; }
12140 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12140/8845f3626a06d05706f6c2e0889a778682a0b689/FitnessClassifier.java/buggy/src/gpalta/core/FitnessClassifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 261, 20861, 5889, 2113, 83, 13, 565, 288, 3639, 333, 18, 73, 12307, 273, 2113, 83, 31, 3639, 1748, 9017, 9816, 1517, 14204, 54, 353, 1898, 10802, 2353, 326, 1024, 1245, 30, 540, 380, 6753, 506, 10648, 2353, 404, 19, 23, 540, 1195, 3639, 3622, 13653, 54, 273, 2113, 83, 18, 1425, 18, 9878, 13653, 54, 31, 3639, 9985, 560, 5010, 1359, 273, 2113, 83, 18, 1425, 18, 1213, 6860, 560, 5010, 1359, 31, 3639, 368, 44, 543, 9816, 10802, 353, 15063, 1879, 31468, 30, 3639, 417, 15024, 21, 273, 2113, 83, 18, 1425, 18, 79, 15024, 21, 31, 7734, 963, 24251, 287, 1588, 273, 404, 19, 261, 12483, 14, 10477, 18, 23509, 12, 22, 16, 642, 18, 1896, 6148, 15, 21, 10019, 7734, 1686, 273, 394, 1645, 63, 73, 12307, 18, 892, 6064, 18, 82, 13239, 15533, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 261, 20861, 5889, 2113, 83, 13, 565, 288, 3639, 333, 18, 73, 12307, 273, 2113, 83, 31, 3639, 1748, 9017, 9816, 1517, 14204, 54, 353, 1898, 10802, 2353, 326, 1024, 1245, 30, 540, 380, 6753, 506, 10648, 2353, 404, 19, 23, 540, 1195, 3639, 3622, 13653, 54, 273, 2113, 83, 18, 1425, 18, 9878, 13653, 54, 31, 3639, 9985, 560, 5010, 1359, 273, 2113, 83, 18, 1425, 18, 1213, 6860, 560, 5010, 1359, 31, 3639, 368, 44, 543, 9816, 10802, 353, 15063, 1879, 31468, 30, 3639, 417, 15024, 21, 273, 2113, 83, 18, 1425, 18, 79, 15024, 21, 31, 7734, 963, 24251, 287, 1588, 273, 404, 19, 261, 12483, 14, 10477, 18, 23509, 12, 22, 2 ]
return indentLine(lineIndex);
return indentLine(lineIndex,canDecreaseIndent);
public boolean indentLine(int lineIndex, boolean canIncreaseIndent, boolean canDecreaseIndent) { return indentLine(lineIndex); } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/157009a3e78368b304e6449aa22d36427a1cfa91/Buffer.java/buggy/org/gjt/sp/jedit/Buffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3504, 1670, 12, 474, 980, 1016, 16, 1250, 848, 382, 11908, 7790, 16, 202, 202, 6494, 848, 23326, 448, 7790, 13, 202, 95, 202, 202, 2463, 3504, 1670, 12, 1369, 1016, 1769, 202, 97, 368, 9090, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3504, 1670, 12, 474, 980, 1016, 16, 1250, 848, 382, 11908, 7790, 16, 202, 202, 6494, 848, 23326, 448, 7790, 13, 202, 95, 202, 202, 2463, 3504, 1670, 12, 1369, 1016, 1769, 202, 97, 368, 9090, 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 ]
if (field.isStatic()) { final VmStaticField sf = (VmStaticField)field; initialize(sf); return Unsafe.getLong(getStaticFieldAddress(sf)); } else { final VmInstanceField inf = (VmInstanceField)field; return Unsafe.getLong(o, inf.getOffset()); } }
if (field.isStatic()) { final VmStaticField sf = (VmStaticField) field; initialize(sf); return Unsafe.getLong(getStaticFieldAddress(sf)); } else { final VmInstanceField inf = (VmInstanceField) field; return Unsafe.getLong(o, inf.getOffset()); } }
public static long getLong(VmField field, Object o) { if (field.isStatic()) { final VmStaticField sf = (VmStaticField)field; initialize(sf); return Unsafe.getLong(getStaticFieldAddress(sf)); } else { final VmInstanceField inf = (VmInstanceField)field; return Unsafe.getLong(o, inf.getOffset()); } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e4a473e34ef840c188ac5bf477d7d4e303019638/VmReflection.java/buggy/core/src/core/org/jnode/vm/VmReflection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1525, 11105, 12, 22143, 974, 652, 16, 1033, 320, 13, 288, 202, 202, 430, 261, 1518, 18, 291, 5788, 10756, 288, 1082, 202, 6385, 776, 81, 5788, 974, 9033, 273, 261, 22143, 5788, 974, 13, 1518, 31, 1082, 202, 11160, 12, 21668, 1769, 1082, 202, 2463, 27476, 18, 588, 3708, 12, 588, 5788, 974, 1887, 12, 21668, 10019, 202, 202, 97, 469, 288, 1082, 202, 6385, 776, 81, 1442, 974, 8286, 273, 261, 22143, 1442, 974, 13, 1518, 31, 1082, 202, 2463, 27476, 18, 588, 3708, 12, 83, 16, 8286, 18, 588, 2335, 10663, 202, 202, 97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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1525, 11105, 12, 22143, 974, 652, 16, 1033, 320, 13, 288, 202, 202, 430, 261, 1518, 18, 291, 5788, 10756, 288, 1082, 202, 6385, 776, 81, 5788, 974, 9033, 273, 261, 22143, 5788, 974, 13, 1518, 31, 1082, 202, 11160, 12, 21668, 1769, 1082, 202, 2463, 27476, 18, 588, 3708, 12, 588, 5788, 974, 1887, 12, 21668, 10019, 202, 202, 97, 469, 288, 1082, 202, 6385, 776, 81, 1442, 974, 8286, 273, 261, 22143, 1442, 974, 13, 1518, 31, 1082, 202, 2463, 27476, 18, 588, 3708, 12, 83, 16, 8286, 18, 588, 2335, 10663, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (con[i].type==ConstraintType.GE) {
if (con[i].type.equals(ConstraintType.GE)) {
private ModelAndVars setupModel() throws IloException, IOException { // make model IloCplex model = new IloCplex(); // if there's any timeout, put emphasis on finding a feasible // solution quickly instead of proving the optimality of the // solution. if (this.timeout!=MAX_TIMEOUT) { model.setParam(IloCplex.IntParam.MIPEmphasis, IloCplex.MIPEmphasis.Feasibility); } // construct types IloNumVarType[] types = new IloNumVarType[numVars]; for (int i=0; i<numVars; i++) { if (boolVar[i]) { types[i] = IloNumVarType.Bool; } else { types[i] = IloNumVarType.Float; } } // construct bounds for vars double[] lb = new double[numVars]; double[] ub = new double[numVars]; for (int i=0; i<numVars; i++) { // give 0-1 range for bool vars solely to avoid warning // from cplex; the important part of the bool var is the // type decided above. if (boolVar[i]) { lb[i] = 0.0; ub[i] = 1.0; } else { lb[i] = Double.MIN_VALUE; ub[i] = Double.MAX_VALUE; } } // construct vars <x> IloNumVar[] x = model.numVarArray(numVars, lb, ub, types); // construct objective function model.addMinimize(model.scalProd(x, obj)); // add constraints Constraint[] con = (Constraint[])constraints.toArray(new Constraint[0]); for (int i=0; i<con.length; i++) { if (con[i].type==ConstraintType.GE) { model.add(model.addGe(model.scalProd(x, con[i].lhs), con[i].rhs)); } else if (con[i].type==ConstraintType.EQ) { model.add(model.addEq(model.scalProd(x, con[i].lhs), con[i].rhs)); } else { Utils.fail("Unrecognized constraint type: " + con[i].type); } } return new ModelAndVars(model, x); }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/1026c0f3b8e4ba2307c8c2dd3a5612f7bb42a0de/CPLEXSolve.java/clean/streams/src/at/dms/kjc/linprog/CPLEXSolve.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3164, 1876, 5555, 3875, 1488, 1435, 1216, 467, 383, 503, 16, 1860, 288, 202, 759, 1221, 938, 202, 45, 383, 39, 7179, 938, 273, 394, 467, 383, 39, 7179, 5621, 202, 759, 309, 1915, 1807, 1281, 2021, 16, 1378, 801, 844, 17247, 603, 13727, 279, 1656, 30711, 202, 759, 6959, 23459, 3560, 434, 450, 6282, 326, 16413, 560, 434, 326, 202, 759, 6959, 18, 202, 430, 261, 2211, 18, 4538, 5, 33, 6694, 67, 9503, 13, 288, 202, 565, 938, 18, 542, 786, 12, 45, 383, 39, 7179, 18, 1702, 786, 18, 7492, 1423, 81, 844, 17247, 16, 467, 383, 39, 7179, 18, 7492, 1423, 81, 844, 17247, 18, 2954, 345, 3628, 1769, 202, 97, 202, 202, 759, 4872, 1953, 202, 45, 383, 2578, 1537, 559, 8526, 1953, 273, 394, 467, 383, 2578, 1537, 559, 63, 2107, 5555, 15533, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 2107, 5555, 31, 277, 27245, 288, 202, 565, 309, 261, 6430, 1537, 63, 77, 5717, 288, 202, 202, 2352, 63, 77, 65, 273, 467, 383, 2578, 1537, 559, 18, 7464, 31, 202, 565, 289, 469, 288, 202, 202, 2352, 63, 77, 65, 273, 467, 383, 2578, 1537, 559, 18, 4723, 31, 202, 565, 289, 202, 97, 202, 759, 4872, 4972, 364, 4153, 202, 9056, 8526, 7831, 273, 394, 1645, 63, 2107, 5555, 15533, 202, 9056, 8526, 13910, 273, 394, 1645, 63, 2107, 5555, 15533, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 2107, 5555, 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, 3164, 1876, 5555, 3875, 1488, 1435, 1216, 467, 383, 503, 16, 1860, 288, 202, 759, 1221, 938, 202, 45, 383, 39, 7179, 938, 273, 394, 467, 383, 39, 7179, 5621, 202, 759, 309, 1915, 1807, 1281, 2021, 16, 1378, 801, 844, 17247, 603, 13727, 279, 1656, 30711, 202, 759, 6959, 23459, 3560, 434, 450, 6282, 326, 16413, 560, 434, 326, 202, 759, 6959, 18, 202, 430, 261, 2211, 18, 4538, 5, 33, 6694, 67, 9503, 13, 288, 202, 565, 938, 18, 542, 786, 12, 45, 383, 39, 7179, 18, 1702, 786, 18, 7492, 1423, 81, 844, 17247, 16, 467, 383, 39, 7179, 18, 7492, 1423, 81, 844, 17247, 18, 2954, 345, 3628, 1769, 202, 97, 202, 202, 2 ]
Object errArgs[] = { names[0] }; throw Context.reportRuntimeError( Context.getMessage("msg.nonjava.method", errArgs));
throw Context.reportRuntimeError1( "msg.nonjava.method", names[0]);
public Object call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { // Find a method that matches the types given. if (methods.length == 0) { throw new RuntimeException("No methods defined for call"); } Method meth = (Method) findFunction(methods, args); if (meth == null) { Class c = methods[0].getDeclaringClass(); String sig = c.getName() + "." + names[0] + "(" + scriptSignature(args) + ")"; Object errArgs[] = { sig }; throw Context.reportRuntimeError( Context.getMessage("msg.java.no_such_method", errArgs)); } // OPT: already retrieved in findFunction, so we should inline that // OPT: or pass it back somehow Class paramTypes[] = meth.getParameterTypes(); // First, we marshall the args. for (int i = 0; i < args.length; i++) { args[i] = NativeJavaObject.coerceType(paramTypes[i], args[i]); } Object javaObject; if (Modifier.isStatic(meth.getModifiers())) { javaObject = null; // don't need an object } else { Scriptable o = thisObj; while (!(o instanceof Wrapper)) { o = o.getPrototype(); if (o == null) { Object errArgs[] = { names[0] }; throw Context.reportRuntimeError( Context.getMessage("msg.nonjava.method", errArgs)); } } javaObject = ((Wrapper) o).unwrap(); } try { if (debug) { printDebug("Calling ", meth, args); } Object retval = meth.invoke(javaObject, args); Class staticType = meth.getReturnType(); if (debug) { Class actualType = (retval == null) ? null : retval.getClass(); System.err.println(" ----- Returned " + retval + " actual = " + actualType + " expect = " + staticType); } Object wrapped = NativeJavaObject.wrap(scope, retval, staticType); if (debug) { Class actualType = (wrapped == null) ? null : wrapped.getClass(); System.err.println(" ----- Wrapped as " + wrapped + " class = " + actualType); } if (wrapped == Undefined.instance) return wrapped; if (wrapped == null && staticType == Void.TYPE) return Undefined.instance; return wrapped; } catch (IllegalAccessException accessEx) { throw Context.reportRuntimeError(accessEx.getMessage()); } catch (InvocationTargetException e) { throw JavaScriptException.wrapException(scope, e); } }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/45820b15541f8822cc8d463aa50caef2201b19b4/NativeJavaMethod.java/buggy/src/org/mozilla/javascript/NativeJavaMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 745, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 15604, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 368, 4163, 279, 707, 716, 1885, 326, 1953, 864, 18, 3639, 309, 261, 5163, 18, 2469, 422, 374, 13, 288, 5411, 604, 394, 3235, 2932, 2279, 2590, 2553, 364, 745, 8863, 3639, 289, 3639, 2985, 7917, 273, 261, 1305, 13, 1104, 2083, 12, 5163, 16, 833, 1769, 3639, 309, 261, 27305, 422, 446, 13, 288, 5411, 1659, 276, 273, 2590, 63, 20, 8009, 588, 3456, 14682, 5621, 5411, 514, 3553, 273, 276, 18, 17994, 1435, 397, 4585, 397, 1257, 63, 20, 65, 397, 12452, 397, 7682, 2728, 5374, 12, 1968, 13, 397, 7310, 31, 5411, 1033, 393, 2615, 8526, 273, 288, 3553, 289, 31, 5411, 604, 1772, 18, 6006, 5576, 668, 12, 7734, 1772, 18, 24906, 2932, 3576, 18, 6290, 18, 2135, 67, 87, 2648, 67, 2039, 3113, 393, 2615, 10019, 3639, 289, 3639, 368, 16456, 30, 1818, 10295, 316, 1104, 2083, 16, 1427, 732, 1410, 6370, 716, 3639, 368, 16456, 30, 578, 1342, 518, 1473, 28578, 3639, 1659, 21265, 8526, 273, 7917, 18, 588, 1662, 2016, 5621, 3639, 368, 5783, 16, 732, 1833, 326, 833, 18, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 833, 63, 77, 65, 273, 16717, 5852, 921, 18, 2894, 2765, 559, 12, 891, 2016, 63, 77, 6487, 833, 63, 77, 19226, 3639, 289, 3639, 1033, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 745, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 15604, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 368, 4163, 279, 707, 716, 1885, 326, 1953, 864, 18, 3639, 309, 261, 5163, 18, 2469, 422, 374, 13, 288, 5411, 604, 394, 3235, 2932, 2279, 2590, 2553, 364, 745, 8863, 3639, 289, 3639, 2985, 7917, 273, 261, 1305, 13, 1104, 2083, 12, 5163, 16, 833, 1769, 3639, 309, 261, 27305, 422, 446, 13, 288, 5411, 1659, 276, 273, 2590, 63, 20, 8009, 588, 3456, 14682, 5621, 5411, 514, 3553, 273, 276, 18, 17994, 1435, 397, 4585, 397, 1257, 63, 20, 65, 397, 12452, 397, 7682, 2728, 5374, 12, 1968, 13, 397, 7310, 2 ]
tc.addSelectionListener(headerListener);
tc.addSelectionListener(getHeaderListener()); tc.setData(fields[i]);
protected void createColumns(final Tree tree) { SelectionListener headerListener = getHeaderListener(); TableLayout layout = new TableLayout(); tree.setLayout(layout); tree.setHeaderVisible(true); final IField[] fields = getVisibleFields(); ColumnLayoutData[] columnWidths = getSavedColumnData(); for (int i = 0; i < fields.length; i++) { layout.addColumnData(columnWidths[i]); TreeColumn tc = new TreeColumn(tree, SWT.NONE, i); tc.setText(fields[i].getColumnHeaderText()); tc.setImage(fields[i].getColumnHeaderImage()); tc.setResizable(columnWidths[i].resizable); tc.addSelectionListener(headerListener); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/2bc2f7e05493c8f842d6d73cc7cb85357120cefd/TableView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 3380, 12, 6385, 4902, 2151, 13, 288, 202, 202, 6233, 2223, 1446, 2223, 273, 7911, 2223, 5621, 202, 202, 1388, 3744, 3511, 273, 394, 3555, 3744, 5621, 202, 202, 3413, 18, 542, 3744, 12, 6741, 1769, 202, 202, 3413, 18, 542, 1864, 6207, 12, 3767, 1769, 202, 202, 6385, 467, 974, 8526, 1466, 273, 31564, 2314, 5621, 202, 202, 1494, 3744, 751, 8526, 1057, 22407, 273, 1322, 8158, 1494, 751, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1466, 18, 2469, 31, 277, 27245, 288, 1082, 202, 6741, 18, 1289, 1494, 751, 12, 2827, 22407, 63, 77, 19226, 1082, 202, 2471, 1494, 1715, 273, 394, 4902, 1494, 12, 3413, 16, 348, 8588, 18, 9826, 16, 277, 1769, 1082, 202, 5111, 18, 542, 1528, 12, 2821, 63, 77, 8009, 588, 1494, 1864, 1528, 10663, 1082, 202, 5111, 18, 542, 2040, 12, 2821, 63, 77, 8009, 588, 1494, 1864, 2040, 10663, 1082, 202, 5111, 18, 542, 607, 6934, 12, 2827, 22407, 63, 77, 8009, 455, 6934, 1769, 1082, 202, 5111, 18, 1289, 6233, 2223, 12, 3374, 2223, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 3380, 12, 6385, 4902, 2151, 13, 288, 202, 202, 6233, 2223, 1446, 2223, 273, 7911, 2223, 5621, 202, 202, 1388, 3744, 3511, 273, 394, 3555, 3744, 5621, 202, 202, 3413, 18, 542, 3744, 12, 6741, 1769, 202, 202, 3413, 18, 542, 1864, 6207, 12, 3767, 1769, 202, 202, 6385, 467, 974, 8526, 1466, 273, 31564, 2314, 5621, 202, 202, 1494, 3744, 751, 8526, 1057, 22407, 273, 1322, 8158, 1494, 751, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1466, 18, 2469, 31, 277, 27245, 288, 1082, 202, 6741, 18, 1289, 1494, 751, 12, 2827, 22407, 63, 77, 19226, 1082, 202, 2471, 1494, 1715, 273, 394, 4902, 1494, 12, 3413, 16, 2 ]
reportStatus(myWCAccess.getTarget(), myTarget, false, myIsRecursive);
myIsIncludeIgnored = true; reportStatus(myWCAccess.getAnchor(), myTarget, false, myIsRecursive);
public SVNCommitInfo closeEdit() throws SVNException { if (myIsRootOpened) { return new SVNCommitInfo(myTargetRevision, null, null); } if (myTarget != null) { File file = myWCAccess.getAnchor().getFile(myTarget, false); if (file.isDirectory()) { SVNEntries entries = myWCAccess.getAnchor().getEntries(); SVNEntry entry = entries.getEntry(myTarget); entries.close(); if (entry != null) { reportStatus(myWCAccess.getTarget(), null, false, myIsRecursive); } else { reportStatus(myWCAccess.getTarget(), myTarget, false, myIsRecursive); } } else { reportStatus(myWCAccess.getTarget(), myTarget, false, myIsRecursive); } } else { reportStatus(myWCAccess.getAnchor(), null, false, myIsRecursive); } return null; }
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/e0add54b126f78258e6051c7ffe315e3ae0fb173/SVNStatusEditor.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/wc/SVNStatusEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 29537, 50, 5580, 966, 1746, 4666, 1435, 1216, 29537, 50, 503, 288, 3639, 309, 261, 4811, 2520, 2375, 23115, 13, 288, 5411, 327, 394, 29537, 50, 5580, 966, 12, 4811, 2326, 7939, 16, 446, 16, 446, 1769, 3639, 289, 3639, 309, 261, 4811, 2326, 480, 446, 13, 288, 5411, 1387, 585, 273, 3399, 59, 39, 1862, 18, 588, 11605, 7675, 29925, 12, 4811, 2326, 16, 629, 1769, 5411, 309, 261, 768, 18, 291, 2853, 10756, 288, 7734, 29537, 50, 5400, 3222, 273, 3399, 59, 39, 1862, 18, 588, 11605, 7675, 588, 5400, 5621, 7734, 29537, 50, 1622, 1241, 273, 3222, 18, 588, 1622, 12, 4811, 2326, 1769, 7734, 3222, 18, 4412, 5621, 7734, 309, 261, 4099, 480, 446, 13, 288, 10792, 2605, 1482, 12, 4811, 59, 39, 1862, 18, 588, 2326, 9334, 446, 16, 629, 16, 3399, 2520, 10483, 1769, 7734, 289, 469, 288, 5397, 3399, 2520, 8752, 15596, 273, 638, 31, 2605, 1482, 12, 4811, 59, 39, 1862, 18, 588, 11605, 9334, 3399, 2326, 16, 629, 16, 3399, 2520, 10483, 1769, 7734, 289, 5411, 289, 469, 288, 1171, 3399, 2520, 8752, 15596, 273, 638, 31, 2605, 1482, 12, 4811, 59, 39, 1862, 18, 588, 11605, 9334, 3399, 2326, 16, 629, 16, 3399, 2520, 10483, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 2605, 1482, 12, 4811, 59, 39, 1862, 18, 588, 11605, 9334, 446, 16, 629, 16, 3399, 2520, 10483, 1769, 3639, 289, 3639, 327, 446, 31, 565, 289, 2, 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, 1, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 29537, 50, 5580, 966, 1746, 4666, 1435, 1216, 29537, 50, 503, 288, 3639, 309, 261, 4811, 2520, 2375, 23115, 13, 288, 5411, 327, 394, 29537, 50, 5580, 966, 12, 4811, 2326, 7939, 16, 446, 16, 446, 1769, 3639, 289, 3639, 309, 261, 4811, 2326, 480, 446, 13, 288, 5411, 1387, 585, 273, 3399, 59, 39, 1862, 18, 588, 11605, 7675, 29925, 12, 4811, 2326, 16, 629, 1769, 5411, 309, 261, 768, 18, 291, 2853, 10756, 288, 7734, 29537, 50, 5400, 3222, 273, 3399, 59, 39, 1862, 18, 588, 11605, 7675, 588, 5400, 5621, 7734, 29537, 50, 1622, 1241, 273, 3222, 18, 588, 1622, 12, 4811, 2326, 1769, 7734, 3222, 18, 4412, 5621, 7734, 309, 261, 4099, 480, 2 ]
DomElement domElement = selectedNode.getDomElement(); text += " " + selectedNode.getChildDescription().getCommonPresentableName(domElement);
final Type type = selectedNode.getChildDescription().getType(); text += " " + ElementPresentationManager.getTypeName(DomUtil.getRawType(type));
protected String getActionText(final AnActionEvent e) { String text = "Add"; if (e.getPresentation().isEnabled()) { final DomElementsGroupNode selectedNode = getDomElementsGroupNode(getTreeView(e)); DomElement domElement = selectedNode.getDomElement();// final Type type = selectedNode.getChildDescription().getType(); text += " " + selectedNode.getChildDescription().getCommonPresentableName(domElement); //ElementPresentationManager.getElementName(DomUtil.getRawType(type)); } return text; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/fef0558b3036d98dce13cf4e97e84391759a2c97/AddElementInCollectionAction.java/clean/source/com/intellij/util/xml/tree/actions/AddElementInCollectionAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 4750, 514, 12473, 1528, 12, 6385, 1922, 1803, 1133, 425, 13, 288, 282, 514, 977, 273, 315, 986, 14432, 282, 309, 261, 73, 18, 588, 6351, 367, 7675, 291, 1526, 10756, 288, 1377, 727, 12965, 3471, 1114, 907, 3170, 907, 273, 2343, 362, 3471, 1114, 907, 12, 588, 2471, 1767, 12, 73, 10019, 1377, 12965, 1046, 31817, 273, 3170, 907, 18, 588, 8832, 1046, 5621, 759, 1377, 727, 1412, 618, 273, 3170, 907, 18, 588, 1763, 3291, 7675, 588, 559, 5621, 1377, 977, 1011, 315, 315, 397, 3170, 907, 18, 588, 1763, 3291, 7675, 588, 6517, 6351, 429, 461, 12, 9859, 1046, 1769, 368, 1046, 6351, 367, 1318, 18, 21336, 461, 12, 8832, 1304, 18, 588, 4809, 559, 12, 723, 10019, 565, 289, 565, 327, 977, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 4750, 514, 12473, 1528, 12, 6385, 1922, 1803, 1133, 425, 13, 288, 282, 514, 977, 273, 315, 986, 14432, 282, 309, 261, 73, 18, 588, 6351, 367, 7675, 291, 1526, 10756, 288, 1377, 727, 12965, 3471, 1114, 907, 3170, 907, 273, 2343, 362, 3471, 1114, 907, 12, 588, 2471, 1767, 12, 73, 10019, 1377, 12965, 1046, 31817, 273, 3170, 907, 18, 588, 8832, 1046, 5621, 759, 1377, 727, 1412, 618, 273, 3170, 907, 18, 588, 1763, 3291, 7675, 588, 559, 5621, 1377, 977, 1011, 315, 315, 397, 3170, 907, 18, 588, 1763, 3291, 7675, 588, 6517, 6351, 429, 461, 12, 9859, 1046, 1769, 368, 1046, 6351, 367, 1318, 18, 21336, 461, 12, 8832, 1304, 18, 588, 4809, 559, 2 ]
this.setup=setup; this.vars=vars;
this.setup=setup; this.vars=vars;
public CflowResidue(CflowSetup setup,List vars) { this.setup=setup; this.vars=vars; this.useCounter=setup.useCounter(); }
236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/0c9a2d99652f79aa6b9face03004bbd9ea430db5/CflowResidue.java/buggy/aop/abc/src/abc/weaving/residues/CflowResidue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 385, 2426, 607, 23965, 12, 39, 2426, 7365, 3875, 16, 682, 4153, 13, 288, 202, 2211, 18, 8401, 33, 8401, 31, 202, 2211, 18, 4699, 33, 4699, 31, 3639, 333, 18, 1202, 4789, 33, 8401, 18, 1202, 4789, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 385, 2426, 607, 23965, 12, 39, 2426, 7365, 3875, 16, 682, 4153, 13, 288, 202, 2211, 18, 8401, 33, 8401, 31, 202, 2211, 18, 4699, 33, 4699, 31, 3639, 333, 18, 1202, 4789, 33, 8401, 18, 1202, 4789, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (keySequence == null) throw new NullPointerException();
if (keySequence == null) { throw new NullPointerException(); }
public KeySequenceBinding(KeySequence keySequence, int match) { if (keySequence == null) throw new NullPointerException(); if (match < 0) throw new IllegalArgumentException(); this.keySequence = keySequence; this.match = match; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/KeySequenceBinding.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/KeySequenceBinding.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1929, 4021, 5250, 12, 653, 4021, 498, 4021, 16, 509, 845, 13, 288, 3639, 309, 261, 856, 4021, 422, 446, 13, 5411, 604, 394, 10108, 5621, 3639, 309, 261, 1916, 411, 374, 13, 5411, 604, 394, 2754, 5621, 3639, 333, 18, 856, 4021, 273, 498, 4021, 31, 3639, 333, 18, 1916, 273, 845, 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,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, 22398, 316, 326, 981, 30, 377, 1071, 1929, 4021, 5250, 12, 653, 4021, 498, 4021, 16, 509, 845, 13, 288, 3639, 309, 261, 856, 4021, 422, 446, 13, 5411, 604, 394, 10108, 5621, 3639, 309, 261, 1916, 411, 374, 13, 5411, 604, 394, 2754, 5621, 3639, 333, 18, 856, 4021, 273, 498, 4021, 31, 3639, 333, 18, 1916, 273, 845, 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 ]
return new CPPASTArrayModifier(); }
return new CPPASTArrayModifier(); }
protected IASTArrayModifier createArrayModifier() { return new CPPASTArrayModifier(); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/8b59056395eb6c26e898030e7e1cd1b78d4db999/GNUCPPSourceParser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 467, 9053, 1076, 9829, 752, 1076, 9829, 1435, 288, 1377, 327, 394, 5181, 4066, 882, 1076, 9829, 5621, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 467, 9053, 1076, 9829, 752, 1076, 9829, 1435, 288, 1377, 327, 394, 5181, 4066, 882, 1076, 9829, 5621, 282, 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 ]
public imcode.server.user.User getUser( String loginName ) { imcode.server.user.User result = null;
public User getUser( String loginName ) { User result = null;
public imcode.server.user.User getUser( String loginName ) { imcode.server.user.User result = null; final String attributeName = "samaccountname="; final String mappingString = attributeName + loginName; NamingEnumeration enum = null; try { enum = ctx.search( "", mappingString, null ); if( enum != null && enum.hasMore() ) { imcode.server.user.User result11 = null; SearchResult searchResult = (SearchResult)enum.nextElement(); NamingEnumeration attribEnum = searchResult.getAttributes().getAll(); result11 = mapAllPossibleAttributes( attribEnum ); result11.setLoginName( loginName ); result = result11; } } catch( NamingException e ) {
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/2c153c8ba9f15a995621f4851cbf148fd06a77c4/LdapUserMapper.java/buggy/server/src/imcode/server/user/LdapUserMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 709, 710, 18, 3567, 18, 1355, 18, 1299, 4735, 12, 514, 3925, 461, 262, 288, 1377, 709, 710, 18, 3567, 18, 1355, 18, 1299, 563, 273, 446, 31, 1377, 727, 514, 9734, 273, 315, 20353, 4631, 529, 1546, 31, 1377, 727, 514, 2874, 780, 273, 9734, 397, 3925, 461, 31, 1377, 18884, 21847, 2792, 273, 446, 31, 1377, 775, 288, 540, 2792, 273, 1103, 18, 3072, 12, 23453, 2874, 780, 16, 446, 11272, 540, 309, 12, 2792, 480, 446, 597, 2792, 18, 5332, 7417, 1435, 262, 288, 5411, 709, 710, 18, 3567, 18, 1355, 18, 1299, 563, 2499, 273, 446, 31, 5411, 29740, 31935, 273, 261, 24916, 13, 7924, 18, 4285, 1046, 5621, 5411, 18884, 21847, 5885, 3572, 273, 31935, 18, 588, 2498, 7675, 588, 1595, 5621, 5411, 563, 2499, 273, 852, 1595, 13576, 2498, 12, 5885, 3572, 11272, 5411, 563, 2499, 18, 542, 5358, 461, 12, 3925, 461, 11272, 5411, 563, 273, 563, 2499, 31, 540, 289, 1377, 289, 1044, 12, 26890, 425, 262, 288, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 709, 710, 18, 3567, 18, 1355, 18, 1299, 4735, 12, 514, 3925, 461, 262, 288, 1377, 709, 710, 18, 3567, 18, 1355, 18, 1299, 563, 273, 446, 31, 1377, 727, 514, 9734, 273, 315, 20353, 4631, 529, 1546, 31, 1377, 727, 514, 2874, 780, 273, 9734, 397, 3925, 461, 31, 1377, 18884, 21847, 2792, 273, 446, 31, 1377, 775, 288, 540, 2792, 273, 1103, 18, 3072, 12, 23453, 2874, 780, 16, 446, 11272, 540, 309, 12, 2792, 480, 446, 597, 2792, 18, 5332, 7417, 1435, 262, 288, 5411, 709, 710, 18, 3567, 18, 1355, 18, 1299, 563, 2499, 273, 446, 31, 5411, 29740, 31935, 273, 261, 24916, 13, 7924, 18, 4285, 1046, 5621, 5411, 18884, 21847, 5885, 2 ]
Connection con = null; PreparedStatement pstmt = null; try { con = DbConnectionManager.getConnection(); pstmt = con.prepareStatement(DELETE_PRIVACY_LISTS); pstmt.setString(1, username); pstmt.executeUpdate(); } catch (Exception e) { Log.error("Error deleting privacy lists of username: " + username, e); } finally { try { if (pstmt != null) { pstmt.close(); } } catch (Exception e) { Log.error(e); } try { if (con != null) { con.close(); } } catch (Exception e) { Log.error(e); } }
public void deletePrivacyLists(String username) { Connection con = null; PreparedStatement pstmt = null; try { con = DbConnectionManager.getConnection(); pstmt = con.prepareStatement(DELETE_PRIVACY_LISTS); pstmt.setString(1, username); pstmt.executeUpdate(); } catch (Exception e) { Log.error("Error deleting privacy lists of username: " + username, e); } finally { try { if (pstmt != null) { pstmt.close(); } } catch (Exception e) { Log.error(e); } try { if (con != null) { con.close(); } } catch (Exception e) { Log.error(e); } } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/7e4a3aa5147f0e6e563081e1ad67cb8de96075be/PrivacyListProvider.java/buggy/ZimbraServer/src/java/com/zimbra/cs/im/xmpp/srv/privacy/PrivacyListProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1430, 15475, 3505, 7432, 12, 780, 2718, 13, 288, 3639, 4050, 356, 273, 446, 31, 3639, 16913, 293, 10589, 273, 446, 31, 3639, 775, 288, 5411, 356, 273, 8408, 1952, 1318, 18, 588, 1952, 5621, 5411, 293, 10589, 273, 356, 18, 9366, 3406, 12, 6460, 67, 7698, 58, 2226, 61, 67, 7085, 55, 1769, 5411, 293, 10589, 18, 542, 780, 12, 21, 16, 2718, 1769, 5411, 293, 10589, 18, 8837, 1891, 5621, 3639, 289, 3639, 1044, 261, 503, 425, 13, 288, 5411, 1827, 18, 1636, 2932, 668, 12993, 19013, 6035, 434, 2718, 30, 315, 397, 2718, 16, 425, 1769, 3639, 289, 3639, 3095, 288, 5411, 775, 288, 309, 261, 84, 10589, 480, 446, 13, 288, 293, 10589, 18, 4412, 5621, 289, 289, 5411, 1044, 261, 503, 425, 13, 288, 1827, 18, 1636, 12, 73, 1769, 289, 5411, 775, 288, 309, 261, 591, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1430, 15475, 3505, 7432, 12, 780, 2718, 13, 288, 3639, 4050, 356, 273, 446, 31, 3639, 16913, 293, 10589, 273, 446, 31, 3639, 775, 288, 5411, 356, 273, 8408, 1952, 1318, 18, 588, 1952, 5621, 5411, 293, 10589, 273, 356, 18, 9366, 3406, 12, 6460, 67, 7698, 58, 2226, 61, 67, 7085, 55, 1769, 5411, 293, 10589, 18, 542, 780, 12, 21, 16, 2718, 1769, 5411, 293, 10589, 18, 8837, 1891, 5621, 3639, 289, 3639, 1044, 261, 503, 425, 13, 288, 5411, 1827, 18, 1636, 2932, 668, 12993, 19013, 6035, 434, 2718, 30, 315, 397, 2718, 16, 425, 1769, 3639, 289, 3639, 3095, 288, 5411, 775, 288, 309, 261, 84, 10589, 480, 446, 13, 288, 293, 2 ]
if ( synPredMatched532 ) {
if ( synPredMatched534 ) {
public final void mNEXT_TOKEN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = NEXT_TOKEN; int _saveIndex; Token ncname=null; switch ( LA(1)) { case '{': { mLCURLY(false); if ( inputState.guessing==0 ) { inElementContent= false; inAttributeContent= false; _ttype = LCURLY; } break; } case '}': { mRCURLY(false); if ( inputState.guessing==0 ) { _ttype = RCURLY; } break; } default: if ((LA(1)=='(') && (LA(2)==':') && ((LA(3) >= '\u0003' && LA(3) <= '\ufffe')) && ((LA(4) >= '\u0003' && LA(4) <= '\ufffe'))) { mEXPR_COMMENT(false); if ( inputState.guessing==0 ) { String comment = new String(text.getBuffer(),_begin,text.length()-_begin); for (int i = 0; i < comment.length(); i++) { if (comment.charAt(i) == '\n') newline(); } _ttype = Token.SKIP; } } else if ((LA(1)=='<') && (LA(2)=='!') && (LA(3)=='-')) { mXML_COMMENT(false); if ( inputState.guessing==0 ) { String data = new String(text.getBuffer(),_begin,text.length()-_begin); parseLinefeeds(data); _ttype = XML_COMMENT; } } else if ((LA(1)=='<') && (LA(2)=='!') && (LA(3)=='[')) { mXML_CDATA(false); if ( inputState.guessing==0 ) { _ttype = XML_CDATA; } } else { boolean synPredMatched532 = false; if (((_tokenSet_14.member(LA(1))) && (_tokenSet_15.member(LA(2))) && (_tokenSet_16.member(LA(3))) && (true))) { int _m532 = mark(); synPredMatched532 = true; inputState.guessing++; try { { match('.'); mINTEGER_LITERAL(false); { switch ( LA(1)) { case 'e': { match('e'); break; } case 'E': { match('E'); break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } } } catch (RecognitionException pe) { synPredMatched532 = false; } rewind(_m532); inputState.guessing--; } if ( synPredMatched532 ) { mDOUBLE_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DOUBLE_LITERAL; } } else { boolean synPredMatched541 = false; if (((_tokenSet_14.member(LA(1))) && (_tokenSet_15.member(LA(2))) && (_tokenSet_16.member(LA(3))) && (true))) { int _m541 = mark(); synPredMatched541 = true; inputState.guessing++; try { { mINTEGER_LITERAL(false); { switch ( LA(1)) { case '.': { match('.'); { if ((_tokenSet_2.member(LA(1)))) { mINTEGER_LITERAL(false); } else if ((LA(1)=='E'||LA(1)=='e')) { } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } break; } case 'E': case 'e': { break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } { switch ( LA(1)) { case 'e': { match('e'); break; } case 'E': { match('E'); break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } } } catch (RecognitionException pe) { synPredMatched541 = false; } rewind(_m541); inputState.guessing--; } if ( synPredMatched541 ) { mDOUBLE_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DOUBLE_LITERAL; } } else if ((LA(1)=='-') && (LA(2)=='-') && (LA(3)=='>') && (true)) { mXML_COMMENT_END(false); if ( inputState.guessing==0 ) { _ttype = XML_COMMENT_END; } } else if ((LA(1)==']') && (LA(2)==']') && (LA(3)=='>') && (true)) { mXML_CDATA_END(false); if ( inputState.guessing==0 ) { _ttype = XML_CDATA_END; } } else { boolean synPredMatched527 = false; if (((LA(1)=='<') && (LA(2)=='?'))) { int _m527 = mark(); synPredMatched527 = true; inputState.guessing++; try { { mXML_PI_START(false); } } catch (RecognitionException pe) { synPredMatched527 = false; } rewind(_m527); inputState.guessing--; } if ( synPredMatched527 ) { mXML_PI(false); if ( inputState.guessing==0 ) { _ttype = XML_PI; } } else if ((LA(1)=='<') && (LA(2)=='/')) { mEND_TAG_START(false); if ( inputState.guessing==0 ) { inElementContent= false; wsExplicit= false; _ttype = END_TAG_START; } } else if ((LA(1)=='<') && (LA(2)=='=')) { mLTEQ(false); if ( inputState.guessing==0 ) { _ttype = LTEQ; } } else if (((LA(1)=='\'') && (LA(2)=='\'') && (true) && (true))&&( inAttributeContent && attrDelimChar == '\'' )) { mESCAPE_APOS(false); if ( inputState.guessing==0 ) { _ttype = ESCAPE_APOS; } } else if (((LA(1)=='"') && (LA(2)=='"') && (true) && (true))&&( inAttributeContent && attrDelimChar == '"' )) { mESCAPE_QUOT(false); if ( inputState.guessing==0 ) { _ttype = ESCAPE_QUOT; } } else if (((LA(1)=='"'||LA(1)=='\'') && ((LA(2) >= '\u0003' && LA(2) <= '\ufffe')) && (true) && (true))&&( parseStringLiterals )) { mSTRING_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = STRING_LITERAL; } } else { boolean synPredMatched529 = false; if ((((LA(1)=='.') && (LA(2)=='.') && (true) && (true))&&( !(inAttributeContent || inElementContent) ))) { int _m529 = mark(); synPredMatched529 = true; inputState.guessing++; try { { match('.'); match('.'); } } catch (RecognitionException pe) { synPredMatched529 = false; } rewind(_m529); inputState.guessing--; } if ( synPredMatched529 ) { mPARENT(false); if ( inputState.guessing==0 ) { _ttype = PARENT; } } else if (((LA(1)=='/') && (LA(2)=='/') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mDSLASH(false); if ( inputState.guessing==0 ) { _ttype = DSLASH; } } else if (((LA(1)=='|') && (LA(2)=='=') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mOREQ(false); if ( inputState.guessing==0 ) { _ttype = OREQ; } } else if (((LA(1)=='&') && (LA(2)=='=') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mANDEQ(false); if ( inputState.guessing==0 ) { _ttype = ANDEQ; } } else if (((LA(1)=='!') && (LA(2)=='=') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mNEQ(false); if ( inputState.guessing==0 ) { _ttype = NEQ; } } else if (((LA(1)=='>') && (LA(2)=='=') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mGTEQ(false); if ( inputState.guessing==0 ) { _ttype = GTEQ; } } else if ((LA(1)=='?') && (LA(2)=='>') && (true) && (true)) { mXML_PI_END(false); if ( inputState.guessing==0 ) { _ttype = XML_PI_END; } } else if ((LA(1)=='(') && (LA(2)=='#') && (true) && (true)) { mPRAGMA_START(false); if ( inputState.guessing==0 ) { _ttype = PRAGMA_START; } } else if (((LA(1)=='\t'||LA(1)=='\n'||LA(1)=='\r'||LA(1)==' '||LA(1)=='#') && ((LA(2) >= '\u0003' && LA(2) <= '\ufffe')) && (true) && (true))&&( inPragma )) { mPRAGMA_END(false); if ( inputState.guessing==0 ) { inPragma = false; _ttype = PRAGMA_END; } } else if ((LA(1)=='<') && (true)) { mLT(false); if ( inputState.guessing==0 ) { inElementContent= false; _ttype = LT; } } else if (((_tokenSet_8.member(LA(1))) && (true) && (true) && (true))&&( inAttributeContent && attrDelimChar == '"' )) { mQUOT_ATTRIBUTE_CONTENT(false); if ( inputState.guessing==0 ) { _ttype = QUOT_ATTRIBUTE_CONTENT; } } else if (((_tokenSet_9.member(LA(1))) && (true) && (true) && (true))&&( inAttributeContent && attrDelimChar == '\'' )) { mAPOS_ATTRIBUTE_CONTENT(false); if ( inputState.guessing==0 ) { _ttype = APOS_ATTRIBUTE_CONTENT; } } else if (((LA(1)=='"') && (true) && (true) && (true))&&( !(parseStringLiterals || inElementContent) )) { mQUOT(false); if ( inputState.guessing==0 ) { _ttype = QUOT; } } else if (((LA(1)=='\'') && (true) && (true) && (true))&&( !(parseStringLiterals || inElementContent) )) { mAPOS(false); if ( inputState.guessing==0 ) { _ttype = APOS; } } else if (((_tokenSet_17.member(LA(1))) && (true) && (true) && (true))&&( inElementContent )) { mELEMENT_CONTENT(false); if ( inputState.guessing==0 ) { _ttype = ELEMENT_CONTENT; } } else if (((LA(1)=='\t'||LA(1)=='\n'||LA(1)=='\r'||LA(1)==' ') && (true) && (true) && (true))&&( !inPragma )) { mWS(false); if ( inputState.guessing==0 ) { if (wsExplicit) { _ttype = WS; text.setLength(_begin); text.append("WS"); } else _ttype = Token.SKIP; } } else if ((_tokenSet_18.member(LA(1))) && (true) && (true) && (true)) { mNCNAME(true); ncname=_returnToken; if ( inputState.guessing==0 ) { _ttype = ncname.getType(); } } else { boolean synPredMatched534 = false; if (((_tokenSet_14.member(LA(1))) && (true) && (true) && (true))) { int _m534 = mark(); synPredMatched534 = true; inputState.guessing++; try { { match('.'); mINTEGER_LITERAL(false); } } catch (RecognitionException pe) { synPredMatched534 = false; } rewind(_m534); inputState.guessing--; } if ( synPredMatched534 ) { mDECIMAL_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DECIMAL_LITERAL; } } else { boolean synPredMatched536 = false; if (((LA(1)=='.') && (true) && (true) && (true))) { int _m536 = mark(); synPredMatched536 = true; inputState.guessing++; try { { match('.'); } } catch (RecognitionException pe) { synPredMatched536 = false; } rewind(_m536); inputState.guessing--; } if ( synPredMatched536 ) { mSELF(false); if ( inputState.guessing==0 ) { _ttype = SELF; } } else { boolean synPredMatched543 = false; if (((_tokenSet_14.member(LA(1))) && (true) && (true) && (true))) { int _m543 = mark(); synPredMatched543 = true; inputState.guessing++; try { { mINTEGER_LITERAL(false); match('.'); } } catch (RecognitionException pe) { synPredMatched543 = false; } rewind(_m543); inputState.guessing--; } if ( synPredMatched543 ) { mDECIMAL_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DECIMAL_LITERAL; } } else if ((_tokenSet_2.member(LA(1))) && (true) && (true) && (true)) { mINTEGER_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = INTEGER_LITERAL; } } else if ((LA(1)=='/') && (true) && (true) && (true)) { mSLASH(false); if ( inputState.guessing==0 ) { _ttype = SLASH; } } else if ((LA(1)==':') && (true) && (true) && (true)) { mCOLON(false); if ( inputState.guessing==0 ) { _ttype = COLON; } } else if ((LA(1)==',') && (true) && (true) && (true)) { mCOMMA(false); if ( inputState.guessing==0 ) { _ttype = COMMA; } } else if ((LA(1)==';') && (true) && (true) && (true)) { mSEMICOLON(false); if ( inputState.guessing==0 ) { _ttype = SEMICOLON; } } else if ((LA(1)=='*') && (true) && (true) && (true)) { mSTAR(false); if ( inputState.guessing==0 ) { _ttype = STAR; } } else if ((LA(1)=='?') && (true) && (true) && (true)) { mQUESTION(false); if ( inputState.guessing==0 ) { _ttype = QUESTION; } } else if ((LA(1)=='+') && (true) && (true) && (true)) { mPLUS(false); if ( inputState.guessing==0 ) { _ttype = PLUS; } } else if ((LA(1)=='-') && (true) && (true) && (true)) { mMINUS(false); if ( inputState.guessing==0 ) { _ttype = MINUS; } } else if ((LA(1)=='[') && (true) && (true) && (true)) { mLPPAREN(false); if ( inputState.guessing==0 ) { _ttype = LPPAREN; } } else if ((LA(1)==']') && (true) && (true) && (true)) { mRPPAREN(false); if ( inputState.guessing==0 ) { _ttype = RPPAREN; } } else if ((LA(1)=='(') && (true) && (true) && (true)) { mLPAREN(false); if ( inputState.guessing==0 ) { _ttype = LPAREN; } } else if ((LA(1)==')') && (true) && (true) && (true)) { mRPAREN(false); if ( inputState.guessing==0 ) { _ttype = RPAREN; } } else if ((LA(1)=='|') && (true) && (true) && (true)) { mUNION(false); if ( inputState.guessing==0 ) { _ttype = UNION; } } else if ((LA(1)=='@') && (true) && (true) && (true)) { mAT(false); if ( inputState.guessing==0 ) { _ttype = AT; } } else if ((LA(1)=='$') && (true) && (true) && (true)) { mDOLLAR(false); if ( inputState.guessing==0 ) { _ttype = DOLLAR; } } else if ((LA(1)=='=') && (true) && (true) && (true)) { mEQ(false); if ( inputState.guessing==0 ) { _ttype = EQ; } } else if ((LA(1)=='>') && (true) && (true) && (true)) { mGT(false); if ( inputState.guessing==0 ) { _ttype = GT; } } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } }}}}}}}} if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ce8b3af89ca1836e7de5c4b3c7110a9e9001a4e4/XQueryLexer.java/clean/src/org/exist/xquery/parser/XQueryLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 312, 25539, 67, 8412, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 19252, 67, 8412, 31, 202, 202, 474, 389, 5688, 1016, 31, 202, 202, 1345, 8194, 529, 33, 2011, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 2292, 4278, 202, 202, 95, 1082, 202, 81, 13394, 1785, 61, 12, 5743, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 6862, 25083, 202, 267, 1046, 1350, 33, 629, 31, 25083, 202, 267, 1499, 1350, 33, 629, 31, 25083, 202, 67, 88, 723, 273, 511, 26314, 31, 6862, 9506, 202, 97, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 9571, 30, 202, 202, 95, 1082, 202, 81, 11529, 1785, 61, 12, 5743, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 67, 88, 723, 273, 534, 26314, 31, 1082, 202, 97, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 1082, 202, 430, 14015, 2534, 12, 21, 13, 18920, 2668, 13, 597, 261, 2534, 12, 22, 13, 18920, 2497, 13, 597, 14015, 2534, 12, 23, 13, 1545, 2337, 89, 30770, 11, 597, 2928, 12, 23, 13, 1648, 2337, 696, 1403, 73, 26112, 597, 14015, 2534, 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, 727, 918, 312, 25539, 67, 8412, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 19252, 67, 8412, 31, 202, 202, 474, 389, 5688, 1016, 31, 202, 202, 1345, 8194, 529, 33, 2011, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 2292, 4278, 202, 202, 95, 1082, 202, 81, 13394, 1785, 61, 12, 5743, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 6862, 25083, 202, 267, 1046, 1350, 33, 629, 2 ]
protected IStatus run(IProgressMonitor monitor) { monitor.beginTask(JOB_LABEL, queries.size()); for (AbstractRepositoryQuery repositoryQuery : queries) { // if (repositoryQuery.isSynchronizing()) // continue; repositoryQuery.setStatus(null); monitor.setTaskName("Synchronizing: " + repositoryQuery.getSummary()); setProperty(IProgressConstants.ICON_PROPERTY, TaskListImages.REPOSITORY_SYNCHRONIZE); // repositoryQuery.setCurrentlySynchronizing(true); TaskRepository repository = TasksUiPlugin.getRepositoryManager().getRepository( repositoryQuery.getRepositoryKind(), repositoryQuery.getRepositoryUrl()); if (repository == null) { repositoryQuery.setStatus(new Status(Status.ERROR, TasksUiPlugin.PLUGIN_ID, "No task repository found: " + repositoryQuery.getRepositoryUrl())); } else { QueryHitCollector collector = new QueryHitCollector(TasksUiPlugin.getTaskListManager().getTaskList()); IStatus resultingStatus = connector.performQuery(repositoryQuery, repository, monitor, collector); if (resultingStatus.getException() == null) { repositoryQuery.updateHits(collector.getHits(), taskList); if (synchTasks) { // TODO: Should sync changed per repository not per // query TasksUiPlugin.getSynchronizationManager().synchronizeChanged(connector, repository); } } else { // MylarStatusHandler.log(resultingStatus); repositoryQuery.setStatus(resultingStatus); } } repositoryQuery.setCurrentlySynchronizing(false); if (repositoryQuery.getStatus() == null) { repositoryQuery.setLastRefreshTimeStamp(DateUtil.getFormattedDate(new Date(), "MMM d, H:mm:ss")); } TasksUiPlugin.getTaskListManager().getTaskList().notifyContainerUpdated(repositoryQuery); monitor.worked(1); } if (queries != null && queries.size() > 0) { taskList.removeOrphanedHits(); } return Status.OK_STATUS; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/02903aa5e61e7efe10c5c6414e6a05339714e429/SynchronizeQueryJob.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/SynchronizeQueryJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 45, 1482, 2681, 12, 45, 5491, 11415, 305, 535, 4089, 15329, 202, 202, 10259, 18, 10086, 2174, 12, 18321, 67, 13545, 16, 13748, 18, 1467, 10663, 202, 202, 1884, 12, 7469, 3305, 1138, 9071, 1138, 30, 13748, 15329, 1082, 202, 759, 430, 12, 9071, 1138, 18, 291, 19298, 6894, 10756, 1082, 202, 759, 17143, 31, 1082, 202, 9071, 1138, 18, 542, 1482, 12, 2011, 1769, 1082, 202, 10259, 18, 542, 2174, 461, 2932, 19298, 6894, 2773, 15, 9071, 1138, 18, 588, 4733, 10663, 1082, 202, 542, 1396, 12, 45, 5491, 2918, 18, 21745, 67, 9900, 16, 2174, 682, 8946, 18, 862, 30986, 67, 7474, 50, 1792, 19359, 15641, 1769, 1082, 202, 759, 9071, 1138, 18, 542, 3935, 715, 19298, 6894, 12, 3767, 1769, 1082, 202, 2174, 3305, 9071, 33, 6685, 13943, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 12, 6862, 202, 9071, 1138, 18, 588, 3305, 5677, 9334, 9071, 1138, 18, 588, 3305, 1489, 10663, 1082, 202, 430, 12, 9071, 631, 2011, 15329, 9506, 202, 9071, 1138, 18, 542, 1482, 12, 2704, 1482, 12, 1482, 18, 3589, 16, 6685, 13943, 3773, 18, 19415, 67, 734, 16, 25083, 202, 6, 1248, 835, 9071, 7015, 2773, 15, 9071, 1138, 18, 588, 3305, 1489, 1435, 10019, 25083, 202, 97, 12107, 95, 9506, 202, 1138, 13616, 7134, 21356, 33, 2704, 1138, 13616, 7134, 12, 6685, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 10663, 9506, 202, 45, 1482, 2088, 310, 1482, 33, 23159, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 45, 1482, 2681, 12, 45, 5491, 11415, 305, 535, 4089, 15329, 202, 202, 10259, 18, 10086, 2174, 12, 18321, 67, 13545, 16, 13748, 18, 1467, 10663, 202, 202, 1884, 12, 7469, 3305, 1138, 9071, 1138, 30, 13748, 15329, 1082, 202, 759, 430, 12, 9071, 1138, 18, 291, 19298, 6894, 10756, 1082, 202, 759, 17143, 31, 1082, 202, 9071, 1138, 18, 542, 1482, 12, 2011, 1769, 1082, 202, 10259, 18, 542, 2174, 461, 2932, 19298, 6894, 2773, 15, 9071, 1138, 18, 588, 4733, 10663, 1082, 202, 542, 1396, 12, 45, 5491, 2918, 18, 21745, 67, 9900, 16, 2174, 682, 8946, 18, 862, 30986, 67, 7474, 50, 1792, 19359, 15641, 1769, 1082, 202, 759, 9071, 1138, 18, 542, 2 ]
public synchronized void setIsLoggedIn(boolean paramLoggedIn) { if (this.isLoggedIn() != paramLoggedIn) { boolean old = this.loggedIn; this.loggedIn = paramLoggedIn; if (paramLoggedIn) { if(this.isGuest()){ this.userAdministration.incNumCurrentGuests(); } else{ this.userAdministration.incNumCurrentUsers(); } Debug.println(this.getName() + " logged in"); } else { this.setCurrentChannel(null); this.setClientServant(null); if (this.isGuest()) { this.userAdministration.decNumCurrentGuests(); this.userAdministration.removeFromUserList(this); } else{ this.userAdministration.decNumCurrentUsers(); } } } }
12294 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12294/abb9084b89bce506f983c16455fe6c39c7dcb50d/User.java/clean/implementation/Server/User.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 22043, 6459, 542, 2520, 29327, 12, 6494, 891, 29327, 15329, 430, 12, 2211, 18, 291, 29327, 1435, 5, 33, 891, 29327, 15329, 6494, 1673, 33, 2211, 18, 19385, 382, 31, 2211, 18, 19385, 382, 33, 891, 29327, 31, 430, 12, 891, 29327, 15329, 430, 12, 2211, 18, 291, 12978, 10756, 95, 2211, 18, 1355, 4446, 4218, 18, 9523, 2578, 3935, 12978, 87, 5621, 97, 12107, 95, 2211, 18, 1355, 4446, 4218, 18, 9523, 2578, 3935, 6588, 5621, 97, 2829, 18, 8222, 12, 2211, 18, 17994, 1435, 9078, 19385, 267, 8863, 97, 12107, 95, 2211, 18, 542, 3935, 2909, 12, 2011, 1769, 2211, 18, 542, 1227, 827, 7445, 12, 2011, 1769, 430, 12, 2211, 18, 291, 12978, 10756, 95, 2211, 18, 1355, 4446, 4218, 18, 4924, 2578, 3935, 12978, 87, 5621, 2211, 18, 1355, 4446, 4218, 18, 4479, 1265, 1299, 682, 12, 2211, 1769, 97, 12107, 95, 2211, 18, 1355, 4446, 4218, 18, 4924, 2578, 3935, 6588, 5621, 9090, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 22043, 6459, 542, 2520, 29327, 12, 6494, 891, 29327, 15329, 430, 12, 2211, 18, 291, 29327, 1435, 5, 33, 891, 29327, 15329, 6494, 1673, 33, 2211, 18, 19385, 382, 31, 2211, 18, 19385, 382, 33, 891, 29327, 31, 430, 12, 891, 29327, 15329, 430, 12, 2211, 18, 291, 12978, 10756, 95, 2211, 18, 1355, 4446, 4218, 18, 9523, 2578, 3935, 12978, 87, 5621, 97, 12107, 95, 2211, 18, 1355, 4446, 4218, 18, 9523, 2578, 3935, 6588, 5621, 97, 2829, 18, 8222, 12, 2211, 18, 17994, 1435, 9078, 19385, 267, 8863, 97, 12107, 95, 2211, 18, 542, 3935, 2909, 12, 2011, 1769, 2211, 18, 542, 1227, 827, 7445, 12, 2011, 1769, 430, 12, 2211, 18, 291, 12978, 10756, 95, 2 ]
anticipateDown(node1); anticipateDown(reparentedIface);
anticipateDown(node2);
public void testInterfaceReparented() { m_pollerConfig.setNodeOutageProcessingEnabled(true); MockNode node1 = m_network.getNode(1); MockNode node2 = m_network.getNode(2); MockInterface node1Iface = m_network.getInterface(1, "192.168.1.1"); MockInterface reparentedIface = m_network.getInterface(1, "192.168.1.2"); MockInterface node2Iface = m_network.getInterface(2, "192.168.1.3"); Event reparentEvent = MockUtil.createReparentEvent("Test", "192.168.1.2", 1, 2); // we are going to reparent to node 2 so when we bring down its only // current interface we expect an interface down not the whole node. anticipateDown(node2Iface); startDaemons(); // move the reparted interface and send a reparented event m_db.reparentInterface(reparentedIface.getIpAddr(), reparentedIface.getNodeId(), node2.getNodeId()); reparentedIface.moveTo(node2); m_eventMgr.sendEventToListeners(reparentEvent); // now bring down the other interface on the new node // System.err.println("Bring Down:"+node2Iface); node2Iface.bringDown(); verifyAnticipated(2000); // FIXME: the event below is the CORRECT answer but the Poller isn't // doing that. I'm going to test for the INCORRECT answer so I can tell if I // change the behavior during refactoring. We now bring down the reparented // interface and we should get node2 down // m_anticipator.reset(); // m_anticipator.anticipateEvent(node2.createDownEvent()); resetAnticipated(); anticipateDown(node1); anticipateDown(reparentedIface); // FIXME: END INCORRECT BEHAVIOR HERE // System.err.println("Bring Down:"+reparentedIface); reparentedIface.bringDown(); sleep(5000); verifyAnticipated(6000); }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/63ea02f21c3a123dc08712837e512664c4c6c32e/PollerTest.java/clean/src/services/org/opennms/netmgt/poller/PollerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1358, 426, 2938, 329, 1435, 288, 3639, 312, 67, 3915, 749, 809, 18, 542, 907, 1182, 410, 7798, 1526, 12, 3767, 1769, 3639, 7867, 907, 756, 21, 273, 312, 67, 5185, 18, 588, 907, 12, 21, 1769, 3639, 7867, 907, 756, 22, 273, 312, 67, 5185, 18, 588, 907, 12, 22, 1769, 3639, 7867, 1358, 756, 21, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 21, 8863, 3639, 7867, 1358, 2071, 817, 329, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 22, 8863, 3639, 7867, 1358, 756, 22, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 22, 16, 315, 15561, 18, 23329, 18, 21, 18, 23, 8863, 7734, 2587, 2071, 817, 1133, 273, 7867, 1304, 18, 2640, 426, 2938, 1133, 2932, 4709, 3113, 315, 15561, 18, 23329, 18, 21, 18, 22, 3113, 404, 16, 576, 1769, 3639, 368, 732, 854, 8554, 358, 2071, 817, 358, 756, 576, 1427, 1347, 732, 5186, 310, 2588, 2097, 1338, 3639, 368, 783, 1560, 732, 4489, 392, 1560, 2588, 486, 326, 7339, 756, 18, 3639, 17841, 24629, 340, 4164, 12, 2159, 22, 45, 865, 1769, 3639, 787, 12858, 87, 5621, 3639, 368, 3635, 326, 2071, 485, 329, 1560, 471, 1366, 279, 2071, 817, 329, 871, 3639, 312, 67, 1966, 18, 266, 2938, 1358, 12, 266, 2938, 329, 45, 865, 18, 588, 5273, 3178, 9334, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1358, 426, 2938, 329, 1435, 288, 3639, 312, 67, 3915, 749, 809, 18, 542, 907, 1182, 410, 7798, 1526, 12, 3767, 1769, 3639, 7867, 907, 756, 21, 273, 312, 67, 5185, 18, 588, 907, 12, 21, 1769, 3639, 7867, 907, 756, 22, 273, 312, 67, 5185, 18, 588, 907, 12, 22, 1769, 3639, 7867, 1358, 756, 21, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 21, 8863, 3639, 7867, 1358, 2071, 817, 329, 45, 865, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 22, 8863, 3639, 7867, 1358, 756, 22, 45, 865, 273, 312, 67, 2 ]
synchronized(this) { if(cache) { try { chkDatastore.put(block); } catch (IOException e) { Logger.error(this, "Datastore failure: "+e, e); }
if(cache) { try { chkDatastore.put(block); } catch (IOException e) { Logger.error(this, "Datastore failure: "+e, e);
public void realPutCHK(ClientCHKBlock block, boolean cache) throws LowLevelPutException { byte[] data = block.getData(); byte[] headers = block.getHeaders(); PartiallyReceivedBlock prb = new PartiallyReceivedBlock(PACKETS_IN_BLOCK, PACKET_SIZE, data); CHKInsertSender is; long uid = random.nextLong(); if(!lockUID(uid)) { Logger.error(this, "Could not lock UID just randomly generated: "+uid+" - probably indicates broken PRNG"); throw new LowLevelPutException(LowLevelPutException.INTERNAL_ERROR); } long startTime = System.currentTimeMillis(); synchronized(this) { if(cache) { try { chkDatastore.put(block); } catch (IOException e) { Logger.error(this, "Datastore failure: "+e, e); } } is = makeInsertSender((NodeCHK)block.getClientKey().getNodeKey(), MAX_HTL, uid, null, headers, prb, false, lm.getLocation().getValue(), cache); } boolean hasForwardedRejectedOverload = false; // Wait for status while(true) { synchronized(is) { if(is.getStatus() == CHKInsertSender.NOT_FINISHED) { try { is.wait(5*1000); } catch (InterruptedException e) { // Ignore } } if(is.getStatus() != CHKInsertSender.NOT_FINISHED) break; } if((!hasForwardedRejectedOverload) && is.receivedRejectedOverload()) { hasForwardedRejectedOverload = true; throttleWindow.rejectedOverload(); } } // Wait for completion while(true) { synchronized(is) { if(is.completed()) break; try { is.wait(10*1000); } catch (InterruptedException e) { // Go around again } } if(is.anyTransfersFailed() && (!hasForwardedRejectedOverload)) { hasForwardedRejectedOverload = true; // not strictly true but same effect throttleWindow.rejectedOverload(); } } Logger.minor(this, "Completed "+uid+" overload="+hasForwardedRejectedOverload+" "+is.getStatusString()); // Finished? if(!hasForwardedRejectedOverload) { // Is it ours? Did we send a request? if(is.sentRequest() && is.uid == uid && (is.getStatus() == CHKInsertSender.ROUTE_NOT_FOUND || is.getStatus() == CHKInsertSender.SUCCESS)) { // It worked! long endTime = System.currentTimeMillis(); long len = endTime - startTime; chkInsertThrottle.successfulCompletion(len); throttleWindow.requestCompleted(); } } if(is.getStatus() == CHKInsertSender.SUCCESS) { Logger.normal(this, "Succeeded inserting "+block); return; } else { int status = is.getStatus(); String msg = "Failed inserting "+block+" : "+is.getStatusString(); if(status == CHKInsertSender.ROUTE_NOT_FOUND) msg += " - this is normal on small networks; the data will still be propagated, but it can't find the 20+ nodes needed for full success"; if(is.getStatus() != CHKInsertSender.ROUTE_NOT_FOUND) Logger.error(this, msg); else Logger.normal(this, msg); switch(is.getStatus()) { case CHKInsertSender.NOT_FINISHED: Logger.error(this, "IS still running in putCHK!: "+is); throw new LowLevelPutException(LowLevelPutException.INTERNAL_ERROR); case CHKInsertSender.GENERATED_REJECTED_OVERLOAD: case CHKInsertSender.TIMED_OUT: throw new LowLevelPutException(LowLevelPutException.REJECTED_OVERLOAD); case CHKInsertSender.ROUTE_NOT_FOUND: throw new LowLevelPutException(LowLevelPutException.ROUTE_NOT_FOUND); case CHKInsertSender.ROUTE_REALLY_NOT_FOUND: throw new LowLevelPutException(LowLevelPutException.ROUTE_REALLY_NOT_FOUND); case CHKInsertSender.INTERNAL_ERROR: throw new LowLevelPutException(LowLevelPutException.INTERNAL_ERROR); default: Logger.error(this, "Unknown CHKInsertSender code in putCHK: "+is.getStatus()+" on "+is); throw new LowLevelPutException(LowLevelPutException.INTERNAL_ERROR); } } }
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/79d31585331089fa241bcabc60a642461fd7972a/Node.java/buggy/src/freenet/node/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2863, 6426, 1792, 47, 12, 1227, 1792, 47, 1768, 1203, 16, 1250, 1247, 13, 1216, 23629, 2355, 6426, 503, 288, 202, 202, 7229, 8526, 501, 273, 1203, 18, 588, 751, 5621, 202, 202, 7229, 8526, 1607, 273, 1203, 18, 588, 3121, 5621, 202, 202, 1988, 6261, 8872, 1768, 846, 70, 273, 394, 6393, 6261, 8872, 1768, 12, 12231, 1584, 55, 67, 706, 67, 11403, 16, 453, 17750, 67, 4574, 16, 501, 1769, 202, 202, 1792, 47, 4600, 12021, 353, 31, 202, 202, 5748, 4555, 273, 2744, 18, 4285, 3708, 5621, 202, 202, 430, 12, 5, 739, 3060, 12, 1911, 3719, 288, 1082, 202, 3328, 18, 1636, 12, 2211, 16, 315, 4445, 486, 2176, 10034, 2537, 20153, 4374, 30, 13773, 1911, 9078, 300, 8656, 8527, 12933, 11770, 4960, 8863, 1082, 202, 12849, 394, 23629, 2355, 6426, 503, 12, 10520, 2355, 6426, 503, 18, 14005, 67, 3589, 1769, 202, 202, 97, 202, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 5621, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12, 2493, 13, 288, 9506, 202, 698, 288, 6862, 202, 27038, 21191, 18, 458, 12, 2629, 1769, 9506, 202, 97, 1044, 261, 14106, 425, 13, 288, 6862, 202, 3328, 18, 1636, 12, 2211, 16, 315, 21191, 5166, 30, 13773, 73, 16, 425, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 291, 273, 1221, 4600, 12021, 12443, 907, 1792, 47, 13, 2629, 18, 588, 1227, 653, 7675, 588, 907, 653, 9334, 4405, 202, 6694, 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, 2863, 6426, 1792, 47, 12, 1227, 1792, 47, 1768, 1203, 16, 1250, 1247, 13, 1216, 23629, 2355, 6426, 503, 288, 202, 202, 7229, 8526, 501, 273, 1203, 18, 588, 751, 5621, 202, 202, 7229, 8526, 1607, 273, 1203, 18, 588, 3121, 5621, 202, 202, 1988, 6261, 8872, 1768, 846, 70, 273, 394, 6393, 6261, 8872, 1768, 12, 12231, 1584, 55, 67, 706, 67, 11403, 16, 453, 17750, 67, 4574, 16, 501, 1769, 202, 202, 1792, 47, 4600, 12021, 353, 31, 202, 202, 5748, 4555, 273, 2744, 18, 4285, 3708, 5621, 202, 202, 430, 12, 5, 739, 3060, 12, 1911, 3719, 288, 1082, 202, 3328, 18, 1636, 12, 2211, 16, 315, 4445, 486, 2176, 10034, 2537, 2 ]
protected Binding getBinding(HttpServletRequest request, HttpServletResponse response, Writer out) throws IOException { // Set up the script context Binding binding = new Binding(); GroovyObject controller = (GroovyObject)request.getAttribute(GrailsApplicationAttributes.CONTROLLER); if(controller!=null) { binding.setVariable(GroovyPage.REQUEST, controller.getProperty(ControllerDynamicMethods.REQUEST_PROPERTY)); binding.setVariable(GroovyPage.RESPONSE, controller.getProperty(ControllerDynamicMethods.RESPONSE_PROPERTY)); binding.setVariable(GroovyPage.FLASH, controller.getProperty(ControllerDynamicMethods.FLASH_SCOPE_PROPERTY)); binding.setVariable(GroovyPage.SERVLET_CONTEXT, context); ApplicationContext appContext = (ApplicationContext)context.getAttribute(GrailsApplicationAttributes.APPLICATION_CONTEXT); binding.setVariable(GroovyPage.APPLICATION_CONTEXT, appContext); binding.setVariable(GrailsApplication.APPLICATION_ID, appContext.getBean(GrailsApplication.APPLICATION_ID)); binding.setVariable(GrailsApplicationAttributes.CONTROLLER, controller); binding.setVariable(GroovyPage.SESSION, controller.getProperty(GetSessionDynamicProperty.PROPERTY_NAME)); binding.setVariable(GroovyPage.PARAMS, controller.getProperty(GetParamsDynamicProperty.PROPERTY_NAME)); binding.setVariable(GroovyPage.OUT, out); } else { // if there is no controller in the request configure using existing attributes, creating objects where necessary GrailsApplicationAttributes attrs = (GrailsApplicationAttributes)request.getAttribute(GrailsApplicationAttributes.REQUEST_SCOPE_ID); binding.setVariable(GroovyPage.REQUEST, request); binding.setVariable(GroovyPage.RESPONSE, response); binding.setVariable(GroovyPage.FLASH, attrs.getFlashScope(request)); binding.setVariable(GroovyPage.SERVLET_CONTEXT, context); ApplicationContext appContext = (ApplicationContext)context.getAttribute(GrailsApplicationAttributes.APPLICATION_CONTEXT); binding.setVariable(GroovyPage.APPLICATION_CONTEXT, appContext); binding.setVariable(GrailsApplication.APPLICATION_ID, appContext.getBean(GrailsApplication.APPLICATION_ID)); binding.setVariable(GroovyPage.SESSION, request.getSession()); binding.setVariable(GroovyPage.PARAMS, new GrailsParameterMap(request)); binding.setVariable(GroovyPage.OUT, out); } // Go through request attributes and add them to the binding as the model for (Enumeration attributeEnum = request.getAttributeNames(); attributeEnum.hasMoreElements();) { String key = (String) attributeEnum.nextElement(); if(!binding.getVariables().containsKey(key)) { binding.setVariable( key, request.getAttribute(key) ); } } for (Iterator i = additionalBinding.keySet().iterator(); i.hasNext();) { String key = (String)i.next(); binding.setVariable(key, additionalBinding.get(key)); } return binding; } // getBinding()
52953 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52953/8f437ade5e2fd07aeb51b071528e08fc29c1a205/GroovyPagesTemplateEngine.java/buggy/src/web/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 15689, 29471, 12, 2940, 18572, 590, 16, 12446, 766, 16, 5497, 596, 13, 7734, 1216, 1860, 288, 5411, 368, 1000, 731, 326, 2728, 819, 5411, 15689, 5085, 273, 394, 15689, 5621, 13491, 20841, 921, 2596, 273, 261, 43, 12859, 921, 13, 2293, 18, 588, 1499, 12, 14571, 14573, 3208, 2498, 18, 6067, 25353, 1769, 5411, 309, 12, 5723, 5, 33, 2011, 13, 288, 202, 5411, 5085, 18, 542, 3092, 12, 43, 12859, 1964, 18, 5519, 16, 2596, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 5519, 67, 9900, 10019, 202, 5411, 5085, 18, 542, 3092, 12, 43, 12859, 1964, 18, 14508, 16, 2596, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 14508, 67, 9900, 10019, 202, 5411, 5085, 18, 542, 3092, 12, 43, 12859, 1964, 18, 42, 16504, 16, 2596, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 42, 16504, 67, 19444, 67, 9900, 10019, 202, 5411, 5085, 18, 542, 3092, 12, 43, 12859, 1964, 18, 31066, 15146, 67, 13181, 16, 819, 1769, 202, 5411, 4257, 1042, 595, 1042, 273, 261, 28278, 13, 2472, 18, 588, 1499, 12, 14571, 14573, 3208, 2498, 18, 25039, 67, 13181, 1769, 202, 5411, 5085, 18, 542, 3092, 12, 43, 12859, 1964, 18, 25039, 67, 13181, 16, 595, 1042, 1769, 202, 5411, 5085, 18, 542, 3092, 12, 14571, 14573, 3208, 18, 25039, 67, 734, 16, 595, 1042, 18, 588, 3381, 12, 14571, 14573, 3208, 18, 25039, 67, 734, 10019, 202, 5411, 5085, 18, 542, 3092, 12, 14571, 14573, 3208, 2498, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 15689, 29471, 12, 2940, 18572, 590, 16, 12446, 766, 16, 5497, 596, 13, 7734, 1216, 1860, 288, 5411, 368, 1000, 731, 326, 2728, 819, 5411, 15689, 5085, 273, 394, 15689, 5621, 13491, 20841, 921, 2596, 273, 261, 43, 12859, 921, 13, 2293, 18, 588, 1499, 12, 14571, 14573, 3208, 2498, 18, 6067, 25353, 1769, 5411, 309, 12, 5723, 5, 33, 2011, 13, 288, 202, 5411, 5085, 18, 542, 3092, 12, 43, 12859, 1964, 18, 5519, 16, 2596, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 5519, 67, 9900, 10019, 202, 5411, 5085, 18, 542, 3092, 12, 43, 12859, 1964, 18, 14508, 16, 2596, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 14508, 67, 9900, 10019, 202, 5411, 2 ]
assertCheckBoxBinding(checkBox, "flag", testBean.isFlag()); }
assertCheckBoxBinding(checkBox, "flag", testBean.isFlag()); }
public void testBindCheckBox() { try { formModel.bind(new JCheckBox(), "stringProperty"); fail("Should throw IllegalArgumentException"); } catch (IllegalArgumentException e) { pass(); } JCheckBox checkBox = new JCheckBox(); checkBox = formModel.bind(checkBox, "flag"); assertCheckBoxBinding(checkBox, "flag", testBean.isFlag()); }
55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/1ca92818155f3e0a4aed29e15c396b3c749e2b10/SwingFormModelTests.java/clean/test/org/springframework/richclient/forms/SwingFormModelTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3357, 19174, 1435, 288, 3639, 775, 288, 5411, 646, 1488, 18, 4376, 12, 2704, 804, 19174, 9334, 315, 1080, 1396, 8863, 5411, 2321, 2932, 14309, 604, 2754, 8863, 3639, 289, 1044, 261, 31237, 425, 13, 288, 5411, 1342, 5621, 3639, 289, 3639, 804, 19174, 866, 3514, 273, 394, 804, 19174, 5621, 3639, 866, 3514, 273, 646, 1488, 18, 4376, 12, 1893, 3514, 16, 315, 6420, 8863, 3639, 1815, 19174, 5250, 12, 1893, 3514, 16, 315, 6420, 3113, 1842, 3381, 18, 291, 4678, 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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 1080, 1396, 8863, 5411, 2321, 2932, 14309, 604, 2754, 8863, 3639, 289, 1044, 261, 31237, 425, 13, 288, 5411, 1342, 5621, 3639, 289, 3639, 804, 19174, 866, 3514, 273, 394, 804, 19174, 5621, 3639, 866, 3514, 273, 646, 1488, 18, 4376, 12, 1893, 3514, 16, 315, 6420, 8863, 3639, 1815, 19174, 5250, 12, 1893, 3514, 16, 315, 6420, 3113, 1842, 3381, 18, 291, 4678, 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 ]
return getRuby().getFalse(); }
return getRuby().getFalse(); }
public RubyBoolean int_p() { return getRuby().getFalse(); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/e3f72aab20ef1fc8576d8fa6823d9722ed33c55c/RubyNumeric.java/clean/org/jruby/RubyNumeric.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 5507, 509, 67, 84, 1435, 288, 3639, 327, 4170, 10340, 7675, 588, 8381, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 5507, 509, 67, 84, 1435, 288, 3639, 327, 4170, 10340, 7675, 588, 8381, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return CharOperation.NO_CHAR;
return name;
public static final char[] concatWith(char[][] array, char separator) { int length = array == null ? 0 : array.length; if (length == 0) return CharOperation.NO_CHAR; int size = length - 1; int index = length; while (--index >= 0) { if (array[index].length == 0) size--; else size += array[index].length; } if (size <= 0) return CharOperation.NO_CHAR; char[] result = new char[size]; index = length; while (--index >= 0) { length = array[index].length; if (length > 0) { System.arraycopy( array[index], 0, result, (size -= length), length); if (--size >= 0) result[size] = separator; } } return result; }
12408 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12408/97695ccc3a078d804bc7df2ed83ae543abea2e44/CharOperation.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 1149, 8526, 3835, 1190, 12, 3001, 63, 6362, 65, 526, 16, 1149, 4182, 13, 288, 202, 202, 474, 769, 273, 526, 422, 446, 692, 374, 294, 526, 18, 2469, 31, 202, 202, 430, 261, 2469, 422, 374, 13, 1082, 202, 2463, 3703, 2988, 18, 3417, 67, 7305, 31, 202, 202, 474, 963, 273, 769, 300, 404, 31, 202, 202, 474, 770, 273, 769, 31, 202, 202, 17523, 261, 413, 1615, 1545, 374, 13, 288, 1082, 202, 430, 261, 1126, 63, 1615, 8009, 2469, 422, 374, 13, 9506, 202, 1467, 413, 31, 1082, 202, 12107, 9506, 202, 1467, 1011, 526, 63, 1615, 8009, 2469, 31, 202, 202, 97, 202, 202, 430, 261, 1467, 1648, 374, 13, 1082, 202, 2463, 3703, 2988, 18, 3417, 67, 7305, 31, 202, 202, 3001, 8526, 563, 273, 394, 1149, 63, 1467, 15533, 202, 202, 1615, 273, 769, 31, 202, 202, 17523, 261, 413, 1615, 1545, 374, 13, 288, 1082, 202, 2469, 273, 526, 63, 1615, 8009, 2469, 31, 1082, 202, 430, 261, 2469, 405, 374, 13, 288, 9506, 202, 3163, 18, 1126, 3530, 12, 6862, 202, 1126, 63, 1615, 6487, 6862, 202, 20, 16, 6862, 202, 2088, 16, 6862, 202, 12, 1467, 3947, 769, 3631, 6862, 202, 2469, 1769, 9506, 202, 430, 261, 413, 1467, 1545, 374, 13, 6862, 202, 2088, 63, 1467, 65, 273, 4182, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 563, 31, 202, 97, 2, 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, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 1149, 8526, 3835, 1190, 12, 3001, 63, 6362, 65, 526, 16, 1149, 4182, 13, 288, 202, 202, 474, 769, 273, 526, 422, 446, 692, 374, 294, 526, 18, 2469, 31, 202, 202, 430, 261, 2469, 422, 374, 13, 1082, 202, 2463, 3703, 2988, 18, 3417, 67, 7305, 31, 202, 202, 474, 963, 273, 769, 300, 404, 31, 202, 202, 474, 770, 273, 769, 31, 202, 202, 17523, 261, 413, 1615, 1545, 374, 13, 288, 1082, 202, 430, 261, 1126, 63, 1615, 8009, 2469, 422, 374, 13, 9506, 202, 1467, 413, 31, 1082, 202, 12107, 9506, 202, 1467, 1011, 526, 63, 1615, 8009, 2469, 31, 202, 202, 97, 202, 202, 430, 261, 1467, 1648, 374, 2 ]
if (((++bytecount) & 0x3f) == 0)
if ((++ bytecount) % 64 == 0)
public void engineUpdate (byte b) { int i = ((int)bytecount) & 0x3f; //wgs int shift = (3 - i % 4) << 3; int idx = i / 4; i = (int)b; W[idx] = (W[idx] & ~(0xff << shift)) | ((i & 0xff) << shift); // if we've filled up a block, then process it if (((++bytecount) & 0x3f) == 0) munch (); }
13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/f0fa0d7593a4096ea9c1b26389ec4bb1431e5631/SHA.java/buggy/libjava/gnu/java/security/provider/SHA.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4073, 1891, 261, 7229, 324, 13, 225, 288, 565, 509, 277, 273, 14015, 474, 13, 1637, 14537, 592, 13, 473, 374, 92, 23, 74, 31, 368, 91, 564, 565, 509, 4654, 273, 261, 23, 300, 277, 738, 1059, 13, 2296, 890, 31, 565, 509, 2067, 273, 277, 342, 1059, 31, 565, 277, 273, 261, 474, 13, 70, 31, 565, 678, 63, 3465, 65, 273, 261, 59, 63, 3465, 65, 473, 4871, 12, 20, 5297, 2296, 4654, 3719, 571, 14015, 77, 473, 374, 5297, 13, 2296, 4654, 1769, 565, 368, 309, 732, 8081, 6300, 731, 279, 1203, 16, 1508, 1207, 518, 565, 309, 14015, 9904, 635, 14537, 592, 13, 738, 5178, 422, 374, 13, 1377, 312, 4384, 261, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4073, 1891, 261, 7229, 324, 13, 225, 288, 565, 509, 277, 273, 14015, 474, 13, 1637, 14537, 592, 13, 473, 374, 92, 23, 74, 31, 368, 91, 564, 565, 509, 4654, 273, 261, 23, 300, 277, 738, 1059, 13, 2296, 890, 31, 565, 509, 2067, 273, 277, 342, 1059, 31, 565, 277, 273, 261, 474, 13, 70, 31, 565, 678, 63, 3465, 65, 273, 261, 59, 63, 3465, 65, 473, 4871, 12, 20, 5297, 2296, 4654, 3719, 571, 14015, 77, 473, 374, 5297, 13, 2296, 4654, 1769, 565, 368, 309, 732, 8081, 6300, 731, 279, 1203, 16, 1508, 1207, 518, 565, 309, 14015, 9904, 635, 14537, 592, 13, 738, 5178, 422, 374, 13, 1377, 312, 4384, 2 ]
try { return Integer.parseInt( buildNumber ); } catch( final NumberFormatException nfe ) { final String message =
try { return Integer.parseInt(buildNumber); } catch (final NumberFormatException nfe) { final String message =
private int getBuildNumber( final Properties properties ) throws BuildException { final String buildNumber = properties.getProperty( DEFAULT_PROPERTY_NAME, "0" ).trim(); // Try parsing the line into an integer. try { return Integer.parseInt( buildNumber ); } catch( final NumberFormatException nfe ) { final String message = m_file + " contains a non integer build number: " + buildNumber; throw new BuildException( message , nfe ); } }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/6154080061f869b4e425d608da3bd61fad967564/BuildNumber.java/buggy/src/main/org/apache/tools/ant/taskdefs/BuildNumber.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 21122, 1854, 12, 727, 6183, 1790, 262, 3639, 1216, 18463, 565, 288, 3639, 727, 514, 1361, 1854, 273, 5411, 1790, 18, 588, 1396, 12, 3331, 67, 9900, 67, 1985, 16, 315, 20, 6, 262, 18, 5290, 5621, 3639, 368, 6161, 5811, 326, 980, 1368, 392, 3571, 18, 3639, 775, 3639, 288, 5411, 327, 2144, 18, 2670, 1702, 12, 1361, 1854, 11272, 3639, 289, 3639, 1044, 12, 727, 12100, 25386, 262, 3639, 288, 5411, 727, 514, 883, 273, 1171, 312, 67, 768, 397, 315, 1914, 279, 1661, 3571, 1361, 1300, 30, 315, 397, 1361, 1854, 31, 5411, 604, 394, 18463, 12, 883, 269, 25386, 11272, 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,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, 273, 5411, 1790, 18, 588, 1396, 12, 3331, 67, 9900, 67, 1985, 16, 315, 20, 6, 262, 18, 5290, 5621, 3639, 368, 6161, 5811, 326, 980, 1368, 392, 3571, 18, 3639, 775, 3639, 288, 5411, 327, 2144, 18, 2670, 1702, 12, 1361, 1854, 11272, 3639, 289, 3639, 1044, 12, 727, 12100, 25386, 262, 3639, 288, 5411, 727, 514, 883, 273, 1171, 312, 67, 768, 397, 315, 1914, 279, 1661, 3571, 1361, 1300, 30, 315, 397, 1361, 1854, 31, 5411, 604, 394, 18463, 12, 883, 269, 25386, 11272, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
getContentPane().add(genButton); genButton.setBounds(30, 20, 75, 23);
getContentPane().add(jButton1, java.awt.BorderLayout.NORTH);
private void initComponents() { genButton = new javax.swing.JButton(); getContentPane().setLayout(null); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setFocusCycleRoot(false); setName("LoggingPrototype"); genButton.setText("generate"); genButton.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { genButtonMouseClicked(evt); } }); getContentPane().add(genButton); genButton.setBounds(30, 20, 75, 23); pack(); }
10434 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10434/deaf39f5fd53e602ee119c0e78ba328efa14917e/guiLogging.java/clean/trunk/src/mockups/guiLogging.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 3157, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 5154, 8485, 7675, 542, 3744, 12, 2011, 1769, 3639, 9277, 4605, 2988, 12, 28384, 18, 5328, 310, 18, 3829, 2918, 18, 28682, 67, 673, 67, 13384, 1769, 3639, 31480, 13279, 2375, 12, 5743, 1769, 3639, 6788, 2932, 7735, 15846, 8863, 3639, 3157, 3616, 18, 542, 1528, 2932, 7163, 8863, 3639, 3157, 3616, 18, 1289, 9186, 2223, 12, 2704, 2252, 18, 2219, 88, 18, 2575, 18, 9186, 4216, 1435, 288, 5411, 1071, 918, 7644, 27633, 12, 6290, 18, 2219, 88, 18, 2575, 18, 9186, 1133, 6324, 13, 288, 7734, 3157, 3616, 9186, 27633, 12, 73, 11734, 1769, 5411, 289, 3639, 15549, 3639, 5154, 8485, 7675, 1289, 12, 4507, 3616, 1769, 3639, 3157, 3616, 18, 542, 5694, 12, 5082, 16, 4200, 16, 18821, 16, 10213, 1769, 3639, 2298, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 3157, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 5154, 8485, 7675, 542, 3744, 12, 2011, 1769, 3639, 9277, 4605, 2988, 12, 28384, 18, 5328, 310, 18, 3829, 2918, 18, 28682, 67, 673, 67, 13384, 1769, 3639, 31480, 13279, 2375, 12, 5743, 1769, 3639, 6788, 2932, 7735, 15846, 8863, 3639, 3157, 3616, 18, 542, 1528, 2932, 7163, 8863, 3639, 3157, 3616, 18, 1289, 9186, 2223, 12, 2704, 2252, 18, 2219, 88, 18, 2575, 18, 9186, 4216, 1435, 288, 5411, 1071, 918, 7644, 27633, 12, 6290, 18, 2219, 88, 18, 2575, 18, 9186, 1133, 6324, 13, 288, 7734, 3157, 3616, 9186, 27633, 12, 73, 11734, 1769, 5411, 289, 2 ]
public void setPrototypeName(String _prototypeName) {
public void setPrototypeName(String _prototypeName, boolean _updateFromPrototype) { boolean prototypeNameChanged = true; if (_prototypeName == null && myPrototypeName == null) { prototypeNameChanged = false; } else if ((_prototypeName != null && _prototypeName.equals(myPrototypeName)) || (myPrototypeName != null && myPrototypeName.equals(_prototypeName))) { prototypeNameChanged = false; }
public void setPrototypeName(String _prototypeName) { myPrototypeName = _prototypeName; }
2575 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2575/7b8e2a977acbc867813917275995f613b061ec47/EOAttribute.java/clean/wolips/plugins/org.objectstyle.wolips.eomodeler/java/org/objectstyle/wolips/eomodeler/model/EOAttribute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 15846, 461, 12, 780, 389, 18541, 461, 16, 1250, 389, 2725, 1265, 15846, 13, 288, 1250, 4409, 461, 5033, 273, 638, 31, 309, 261, 67, 18541, 461, 422, 446, 597, 3399, 15846, 461, 422, 446, 13, 288, 4409, 461, 5033, 273, 629, 31, 289, 469, 309, 14015, 67, 18541, 461, 480, 446, 597, 389, 18541, 461, 18, 14963, 12, 4811, 15846, 461, 3719, 747, 261, 4811, 15846, 461, 480, 446, 597, 3399, 15846, 461, 18, 14963, 24899, 18541, 461, 20349, 288, 4409, 461, 5033, 273, 629, 31, 289, 565, 3399, 15846, 461, 273, 389, 18541, 461, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 15846, 461, 12, 780, 389, 18541, 461, 16, 1250, 389, 2725, 1265, 15846, 13, 288, 1250, 4409, 461, 5033, 273, 638, 31, 309, 261, 67, 18541, 461, 422, 446, 597, 3399, 15846, 461, 422, 446, 13, 288, 4409, 461, 5033, 273, 629, 31, 289, 469, 309, 14015, 67, 18541, 461, 480, 446, 597, 389, 18541, 461, 18, 14963, 12, 4811, 15846, 461, 3719, 747, 261, 4811, 15846, 461, 480, 446, 597, 3399, 15846, 461, 18, 14963, 24899, 18541, 461, 20349, 288, 4409, 461, 5033, 273, 629, 31, 289, 565, 3399, 15846, 461, 273, 389, 18541, 461, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
TestCrawlCB cb = new TestCrawlCB(deadline);
TestCrawlCB cb = new TestCrawlCB(sem);
public void testNewContentCrawlCallbackReturnsCookie() { Deadline deadline = Deadline.in(TEN_SECONDS); String cookie = "cookie string"; MockCachedUrlSet cus = (MockCachedUrlSet)mau.getAUCachedUrlSet(); cus.addUrl(LINKLESS_PAGE, startUrl); TestCrawlCB cb = new TestCrawlCB(deadline); crawlManager.isCrawlingAU(mau, cb, cookie); while (!deadline.expired()) { try{ deadline.sleep(); } catch (InterruptedException ie) { } } assertEquals(cookie, (String)cb.getCookie()); }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/ada10c9875dbe8e0b662480381978c87da96262e/TestCrawlManagerImpl.java/buggy/test/src/org/lockss/crawler/TestCrawlManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1908, 1350, 39, 15161, 2428, 1356, 6151, 1435, 288, 565, 23967, 1369, 14096, 273, 23967, 1369, 18, 267, 12, 56, 1157, 67, 11609, 1769, 565, 514, 3878, 273, 315, 8417, 533, 14432, 565, 7867, 9839, 1489, 694, 27964, 273, 261, 9865, 9839, 1489, 694, 13, 2540, 89, 18, 588, 14237, 9839, 1489, 694, 5621, 565, 27964, 18, 1289, 1489, 12, 10554, 26005, 67, 11219, 16, 787, 1489, 1769, 565, 7766, 39, 15161, 8876, 2875, 273, 394, 7766, 39, 15161, 8876, 12, 12000, 1769, 565, 23182, 1318, 18, 291, 39, 1899, 2456, 14237, 12, 2540, 89, 16, 2875, 16, 3878, 1769, 565, 1323, 16051, 22097, 1369, 18, 15820, 10756, 288, 1377, 775, 95, 202, 22097, 1369, 18, 19607, 5621, 1377, 289, 1044, 261, 24485, 503, 9228, 13, 288, 1377, 289, 565, 289, 565, 1815, 8867, 12, 8417, 16, 261, 780, 13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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1908, 1350, 39, 15161, 2428, 1356, 6151, 1435, 288, 565, 23967, 1369, 14096, 273, 23967, 1369, 18, 267, 12, 56, 1157, 67, 11609, 1769, 565, 514, 3878, 273, 315, 8417, 533, 14432, 565, 7867, 9839, 1489, 694, 27964, 273, 261, 9865, 9839, 1489, 694, 13, 2540, 89, 18, 588, 14237, 9839, 1489, 694, 5621, 565, 27964, 18, 1289, 1489, 12, 10554, 26005, 67, 11219, 16, 787, 1489, 1769, 565, 7766, 39, 15161, 8876, 2875, 273, 394, 7766, 39, 15161, 8876, 12, 12000, 1769, 565, 23182, 1318, 18, 291, 39, 1899, 2456, 14237, 12, 2540, 89, 16, 2875, 16, 3878, 1769, 565, 1323, 16051, 22097, 1369, 18, 15820, 10756, 288, 1377, 775, 95, 202, 22097, 1369, 2 ]
if(relatedClassType.getName().equals(getFullName())){ property.setOneToMany(true); property.setBidirectional(true); } else if(GrailsClassUtils.isDomainClass( relatedClassType )) { Map relatedClassRelationships = GrailsDomainConfigurationUtil.getAssociationMap(relatedClassType); Class relatedClassPropertyType = null; if( relatedClassRelationships != null && !relatedClassRelationships.isEmpty() ) { String relatedClassPropertyName = null; for(Iterator i = relatedClassRelationships.keySet().iterator();i.hasNext();) { String currentKey = (String)i.next(); Class currentClass = (Class) relatedClassRelationships.get( currentKey ); if(currentClass.getName().equals( getClazz().getName() )) { relatedClassPropertyName = currentKey; break; } } if(relatedClassPropertyName != null) { relatedClassPropertyType = GrailsClassUtils.getProperyType( relatedClassType, relatedClassPropertyName); } } if(relatedClassPropertyType == null) { PropertyDescriptor[] descriptors = GrailsClassUtils.getPropertiesOfType(relatedClassType, getClazz()); if(descriptors.length == 1) { relatedClassPropertyType = descriptors[0].getPropertyType(); } } establishRelationshipForSetToType(property,relatedClassPropertyType); } else { property.setPersistant(false); } } else { property.setPersistant(false); } }
if(relatedClassType != null) { property.setReferencedPropertyType(relatedClassType); if(relatedClassType.getName().equals(getFullName())){ property.setOneToMany(true); property.setBidirectional(true); } else if(GrailsClassUtils.isDomainClass( relatedClassType )) { Map relatedClassRelationships = GrailsDomainConfigurationUtil.getAssociationMap(relatedClassType); Class relatedClassPropertyType = null; if( relatedClassRelationships != null && !relatedClassRelationships.isEmpty() ) { String relatedClassPropertyName = null; for(Iterator i = relatedClassRelationships.keySet().iterator();i.hasNext();) { String currentKey = (String)i.next(); Class currentClass = (Class) relatedClassRelationships.get( currentKey ); if(currentClass.getName().equals( getClazz().getName() )) { relatedClassPropertyName = currentKey; break; } } if(relatedClassPropertyName != null) { relatedClassPropertyType = GrailsClassUtils.getProperyType( relatedClassType, relatedClassPropertyName); } } if(relatedClassPropertyType == null) { PropertyDescriptor[] descriptors = GrailsClassUtils.getPropertiesOfType(relatedClassType, getClazz()); if(descriptors.length == 1) { relatedClassPropertyType = descriptors[0].getPropertyType(); } } establishRelationshipForSetToType(property,relatedClassPropertyType); } else { property.setPersistant(false); } } else { property.setPersistant(false); } }
private void establishRelationshipForSet(DefaultGrailsDomainClassProperty property) { // is it a relationship Class relatedClassType = getRelatedClassType( property.getName() ); if(relatedClassType != null) { // set the referenced type in the property property.setReferencedPropertyType(relatedClassType); // if the related class is the same as this class // its a circular one-to-many if(relatedClassType.getName().equals(getFullName())){ property.setOneToMany(true); property.setBidirectional(true); } // if the related type is a domain class // then figure out what kind of relationship it is else if(GrailsClassUtils.isDomainClass( relatedClassType )) { // check the relationship defined in the referenced type // if it is also a Set/domain class etc. Map relatedClassRelationships = GrailsDomainConfigurationUtil.getAssociationMap(relatedClassType); Class relatedClassPropertyType = null; // if the related type has a relationships map it may be a many-to-many // figure out if there is a many-to-many relationship defined if( relatedClassRelationships != null && !relatedClassRelationships.isEmpty() ) { String relatedClassPropertyName = null; // retrieve the relationship property for(Iterator i = relatedClassRelationships.keySet().iterator();i.hasNext();) { String currentKey = (String)i.next(); Class currentClass = (Class) relatedClassRelationships.get( currentKey ); if(currentClass.getName().equals( getClazz().getName() )) { relatedClassPropertyName = currentKey; break; } } // if there is one defined get the type if(relatedClassPropertyName != null) { relatedClassPropertyType = GrailsClassUtils.getProperyType( relatedClassType, relatedClassPropertyName); } } // otherwise figure out if there is a one-to-many relationship by retrieving any properties that are of the related type // if there is more than one property then (for the moment) ignore the relationship if(relatedClassPropertyType == null) { PropertyDescriptor[] descriptors = GrailsClassUtils.getPropertiesOfType(relatedClassType, getClazz()); if(descriptors.length == 1) { relatedClassPropertyType = descriptors[0].getPropertyType(); } } establishRelationshipForSetToType(property,relatedClassPropertyType); } // otherwise set it to not persistent as you can't persist // relationships to non-domain classes else { property.setPersistant(false); } } else { // no relationship defined for set. // set not persistent property.setPersistant(false); } }
52953 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52953/58974951e3276884850340e13cf2bb066cb110b9/DefaultGrailsDomainClass.java/clean/src/commons/org/codehaus/groovy/grails/commons/DefaultGrailsDomainClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 18312, 8180, 1290, 694, 12, 1868, 14571, 14573, 3748, 797, 1396, 1272, 13, 288, 202, 202, 759, 353, 518, 279, 5232, 202, 202, 797, 3746, 18328, 273, 21531, 18328, 12, 1272, 18, 17994, 1435, 11272, 25083, 202, 430, 12, 9243, 18328, 480, 446, 13, 288, 1082, 202, 759, 444, 326, 8042, 618, 316, 326, 1272, 1082, 202, 4468, 18, 542, 22344, 22802, 12, 9243, 18328, 1769, 1082, 202, 759, 309, 326, 3746, 667, 353, 326, 1967, 487, 333, 667, 1082, 202, 759, 2097, 279, 15302, 1245, 17, 869, 17, 9353, 1082, 202, 430, 12, 9243, 18328, 18, 17994, 7675, 14963, 12, 588, 19223, 1435, 3719, 95, 9506, 202, 4468, 18, 542, 3335, 12601, 12, 3767, 1769, 9506, 202, 4468, 18, 542, 17763, 24699, 12, 3767, 1769, 1082, 202, 97, 1082, 202, 759, 309, 326, 3746, 618, 353, 279, 2461, 667, 1082, 202, 759, 1508, 7837, 596, 4121, 3846, 434, 5232, 518, 353, 25083, 202, 12107, 309, 12, 14571, 14573, 797, 1989, 18, 291, 3748, 797, 12, 3746, 18328, 8623, 288, 6862, 6862, 9506, 202, 759, 866, 326, 5232, 2553, 316, 326, 8042, 618, 9506, 202, 759, 309, 518, 353, 2546, 279, 1000, 19, 4308, 667, 5527, 18, 9506, 202, 863, 3746, 797, 17185, 273, 10812, 14573, 3748, 1750, 1304, 18, 588, 7174, 863, 12, 9243, 18328, 1769, 9506, 202, 797, 3746, 797, 22802, 273, 446, 31, 6862, 9506, 202, 759, 309, 326, 3746, 618, 711, 279, 11499, 852, 518, 2026, 506, 279, 4906, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 18312, 8180, 1290, 694, 12, 1868, 14571, 14573, 3748, 797, 1396, 1272, 13, 288, 202, 202, 759, 353, 518, 279, 5232, 202, 202, 797, 3746, 18328, 273, 21531, 18328, 12, 1272, 18, 17994, 1435, 11272, 25083, 202, 430, 12, 9243, 18328, 480, 446, 13, 288, 1082, 202, 759, 444, 326, 8042, 618, 316, 326, 1272, 1082, 202, 4468, 18, 542, 22344, 22802, 12, 9243, 18328, 1769, 1082, 202, 759, 309, 326, 3746, 667, 353, 326, 1967, 487, 333, 667, 1082, 202, 759, 2097, 279, 15302, 1245, 17, 869, 17, 9353, 1082, 202, 430, 12, 9243, 18328, 18, 17994, 7675, 14963, 12, 588, 19223, 1435, 3719, 95, 9506, 202, 4468, 18, 542, 3335, 12601, 12, 3767, 2 ]
BeanProperty(Method getter, Method setter)
BeanProperty(MemberBox getter, MemberBox setter)
BeanProperty(Method getter, Method setter) { this.getter = getter; this.setter = setter; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/004397fe5ef540e453f60552849d0320b106ace4/JavaMembers.java/clean/js/rhino/src/org/mozilla/javascript/JavaMembers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 7704, 1396, 12, 4419, 3514, 7060, 16, 8596, 3514, 7794, 13, 565, 288, 3639, 333, 18, 11990, 273, 7060, 31, 3639, 333, 18, 18062, 273, 7794, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 7704, 1396, 12, 4419, 3514, 7060, 16, 8596, 3514, 7794, 13, 565, 288, 3639, 333, 18, 11990, 273, 7060, 31, 3639, 333, 18, 18062, 273, 7794, 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 ]