WLS: updated variable declaration statement to reflect the use of type patterns.