]> source.dussan.org Git - vaadin-framework.git/commit
removes extra VaadinSession.setCurrent() from PushHandler. (#14222)
authorFabian Lange <lange.fabian@gmail.com>
Fri, 11 Jul 2014 21:43:03 +0000 (23:43 +0200)
committerFabian Lange <lange.fabian@gmail.com>
Mon, 14 Jul 2014 08:52:24 +0000 (10:52 +0200)
commit9e4bdca5322e211c2988a2138340d9841c46a6ad
tree99b33d42f86fabba4d323b5853e00850b67ed102
parent6f468c84413ac7d25458dfedc3766665c7d9cd32
removes extra VaadinSession.setCurrent() from PushHandler. (#14222)

The setCurrent call on VaadinSession is not needed. the one extra call
can be saved because service.findVaadinSession will already set it.
Added a comment like it is done for UI (service.findUI will also set the
UI).

Change-Id: Ic24d922554d1316aae310813ef5d00a0bbfd418a
server/src/com/vaadin/server/communication/PushHandler.java