]> source.dussan.org Git - vaadin-framework.git/commit
Revert broken fix and test (#12446)
authorJohannes Dahlström <johannesd@vaadin.com>
Mon, 21 Oct 2013 13:16:37 +0000 (16:16 +0300)
committerVaadin Code Review <review@vaadin.com>
Tue, 22 Oct 2013 05:33:16 +0000 (05:33 +0000)
commitee809e5985d7a438e031c40bed160ac78ae8d0bc
tree2c08e2acb086bb12b0936807d253346401ceb02e
parent361ad179ebbe5f25e157497394d3d1fb5aaee506
Revert broken fix and test (#12446)

The timeoutInterval variable needs to be part of per-UI state for the
code to work correctly. Storing it in a servlet-global MetadataWriter
instance is both semantically wrong and a race condition.

Also, the test currently throws NPE if assertions are enabled.

This reverts commit f595d057951523baf35a797692376dfa5de0bc8d.

Change-Id: Ia6d1383b2c112b86ce60c75a3ebb9f10da545d4a
server/src/com/vaadin/server/communication/UidlRequestHandler.java
server/src/com/vaadin/server/communication/UidlWriter.java
server/tests/src/com/vaadin/server/communication/UidlWriterTest.java [deleted file]