">1" spacing issue, though while here might be simpler to do just,
```java
if (nodes == null || nodes.size() != 1) return;
```