]> source.dussan.org Git - vaadin-framework.git/commit
Fixed logic error causing IOException if stream supports mark (#10851)
authorArtur Signell <artur@vaadin.com>
Mon, 18 Feb 2013 20:15:39 +0000 (22:15 +0200)
committerVaadin Code Review <review@vaadin.com>
Tue, 19 Feb 2013 08:21:27 +0000 (08:21 +0000)
commit638bb9263d867f300123acc9023f27ee242e6079
tree23e807edc72ff01f943a5a8ab8ba9c9bf754fd55
parent9af9a2d1e6dcd6546d181deb6f4537d6d2a4f595
Fixed logic error causing IOException if stream supports mark (#10851)

The current logic caused mark() never to be called if the original InputStream supports mark (isMarkSupported()). This in turn causes an IOException when reset is called and no mark has been set.

Change-Id: I781ed8e9d355d22bd8e43acb5c5e9c8da90f66a0
theme-compiler/src/com/vaadin/sass/internal/parser/Parser.java
theme-compiler/src/com/vaadin/sass/internal/parser/Parser.jj