I know about the problem and how to fix it. I would like to ask for help finding this problem in existing code.
In other words, I’m trying to find all locations where this trap is buried, so I can fix it.
Is there any tool that can help me?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What’s wrong with grep?
This will find just about all of the usual culprits.
If you’re using a instance of one of your own mutable classes as a default value, you’ll have to check for that separately.