It's really that important to return if the renderer actually changed? You're using that value only to log some messages. Maybe this method could return void, and you would avoid the equals in line 120.