SyntaxFix
Write A Post
Hire A Developer
Questions
Before:
boolean result = isresult(); if (result) { result = false; } else { result = true; }
After:
boolean result = isresult(); result ^= true;