playframework/Play20 — pull request #618 by benmccann (2012-12-17 07:35:19+00:00)
Title: Add a convenience constructor for ValidationError

The last constructor parameter of ValidationError is normally just an empty list. This makes it easier to call and can also save memory since ImmutableList.of() uses the same empty list instance internally (as opposed to creating a new empty list instance causing extra memory usage and garbage collection)