When I try to convert this

```
if ( prop.getDateSaisie() == null ) prop.setDateSaisie(new Date()) ;
else                                prop.setDateSaisieModif(new Date()) ;

```

To the Java ternary operator like this

```
prop.getDateSaisie() == null ? prop.setDateSaisie(new Date()) : prop.setDateSaisieModif(new Date()) ;

```

I got `The left-hand side of an assignment must be a variable` 

So i have to do it whith `if` `else` or i miss something ?