doctrine/doctrine2 — pull request #1026 by flack (2014-05-02 20:02:15+00:00)
Title: Remove some redundant clauses

The objectmanager insertion logic was identical in the if and else clauses, so I replaced both occurences with one directly after the else block closes. It is semantically identical but a little more readable, especially since the method has more than 250 lines (and a cyclomatic complexity of 100 or so :-)) as it is.