]> source.dussan.org Git - vaadin-framework.git/commit
NullPointerException in DateToSqlDateConverter (#12284)
authorEdoardo Vacchi <uncommonnonsense@gmail.com>
Fri, 13 Sep 2013 08:25:29 +0000 (10:25 +0200)
committerVaadin Code Review <review@vaadin.com>
Fri, 13 Sep 2013 13:00:11 +0000 (13:00 +0000)
commit3cafce30057055d1731313c8d2833cb4c513ccd3
treeecfd91135a532fa38fa7e3fafc7b2dfc0f03201a
parent9b052579ebb6df508fe4195e6562fced7fdf5698
NullPointerException in DateToSqlDateConverter (#12284)

DateToSqlDateConverter throws a NullPointerException when the provided
value is null, thus violating the interface contract. If the provided
value is null, then the methods should return null.

Missing test case included

Change-Id: If08225c2a6ae7c3103e47d3817a5d45469c7bf4f
server/src/com/vaadin/data/util/converter/DateToSqlDateConverter.java
server/tests/src/com/vaadin/tests/data/converter/TestDateToSqlDateConverter.java [new file with mode: 0644]