// Instead of writing:
val = something != null ? something : defaultValue;

// you would write:  
val = something ?: defaultValue;