gamars/liferay-portal — comment on commit e079cbdeb7ada65033de9578119c9c15998727a2
File: portal-service/src/com/liferay/portal/kernel/search/SearchEngineUtil.java line 71
By rotty3000:

- Always use block statements with control structures
- spaces in control structure declarations as well as around operators

```java
if (!documents.isEmpty()) {
Document document = documents.iterator().next();

return inferSearchEngineId(document);
}
else {
return SYSTEM_ENGINE_ID;
}
```