Exercise 2: Improve these sentences
Improve the following sentences. You may rearrange, add, delete, or
modify words as you see fit:
- The moth was removed by Grace Hopper.
- Performance optimization is overridden by the
--noperf
flag.
- The measurements were taken by the static
Timer()
method until
it was discovered by the QA team that bugs were present
in the Timer()
method.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-30 UTC.
[null,null,["Last updated 2025-01-30 UTC."],[[["Grace Hopper removed the moth."],["The `--noperf` flag overrides performance optimization."],["The static `Timer()` method was used for measurements until the QA team discovered bugs in it."]]],["The task is to improve three sentences. Sentence 1 is revised to show Grace Hopper actively discovered and removed the moth, changing the passive voice. Sentence 2 is improved to clarify that the `--noperf` flag disables performance optimization. Sentence 3 is reworded to focus on the discovery of bugs and the implications for measurements taken with the faulty `Timer()` method.\n"]]