:lipstick: Diagram.java

(The lipstick icon means "improved coding style"; in this case I removed
some variable declarations from a conditional)