okkero
02/02/2017, 10:24 AMa is null. What @Andreas Sinz said holds true if a is of type String, which he did specify. In your example a is of type String?. If you change the type of a to String you will get the same warning for line 2.