Mike would almost certainly say "use ternary operator?" here, i.e.
```java
    view.setAlpha(status==Item.BOUGHT ? 0.3f : 1.0f);
```
Not also you don't need to cast a **double** to **float**!