fix a small bug in DummyHistoryHandler.java(proj2a) #32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I am a student from China. While working on proj2a, I found that the provided skeleton code did not produce the parabola and sinusoid as demonstrated in the documentation. Therefore, I modified this bug to achieve the correct demonstration.
The original code is as follows:
The image is as follows:
![image](https://private-user-images.githubusercontent.com/73778222/348933130-f082b122-6687-4e99-94cb-f340c6f3d133.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODYzMzAsIm5iZiI6MTczOTE4NjAzMCwicGF0aCI6Ii83Mzc3ODIyMi8zNDg5MzMxMzAtZjA4MmIxMjItNjY4Ny00ZTk5LTk0Y2ItZjM0MGM2ZjNkMTMzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDExMTM1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRiOTAzY2Y0ODMxZjljZjE3MmMzNmU4NjlhMTIyMzcxMjM0NWM4MDNhYzcwYWE3YWFlMGRkOWE1MTQzYjAxZGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.e2wQjoLWE4Un1pnNkqy1vezc7HRS7fGqhMaPWRhc_6o)
After modifying the code, it is as follows:
The image is as follows:
![image](https://private-user-images.githubusercontent.com/73778222/348935250-2ab90d18-1098-42d4-86db-a60d30962445.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODYzMzAsIm5iZiI6MTczOTE4NjAzMCwicGF0aCI6Ii83Mzc3ODIyMi8zNDg5MzUyNTAtMmFiOTBkMTgtMTA5OC00MmQ0LTg2ZGItYTYwZDMwOTYyNDQ1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDExMTM1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY4OTdiOTk0ZDAzNDhiNzg3ZTRlNmEzNDRhNThkYmRiYzg2YzQ3M2E3NWM1MTViNzY0MWU3MjVmYjU3ZTkzYmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.mWQZ-EeqBU98Wdofpcm6NqU5NTREMiz39aXoogu09PE)
I would like to thank Berkeley, the professors, and the TAs for providing such great learning materials in CS61B.