You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To limit bug bankruptcy (see https://www.joelonsoftware.com/2012/07/09/software-inventory/) this issue has been automatically marked as stale because it has not had any activity in 6 months. It will be closed in 1 month if no further activity occurs. If this issue remains important to you, please comment to reactivate the issue. Thank you for your contributions.
Imagine, for a moment, that you came upon a bread factory for the first time. At first it just looks like a jumble of incomprehensible machinery with a few people buzzing around. As your eyes adjus…
When I apply the automatic code transformation for "guard clause critic", it removes method comment.
Here is how to reproduce the issue:
DummyObject
class#methodToRefactorWithGuardClause
method with source code:This method will show the quality assistant critic "Replace single branch conditional with guard clause".
If you click the automatic repair button of the critic, it correctly transform the code but removes the class comment leading to the following method:
The text was updated successfully, but these errors were encountered: