]> source.dussan.org Git - vaadin-framework.git/commitdiff
Removing deprecated parameter (#12004) pr12027/r5
authorTatu Lund <tatu@vaadin.com>
Thu, 14 May 2020 06:12:52 +0000 (09:12 +0300)
committerGitHub <noreply@github.com>
Thu, 14 May 2020 06:12:52 +0000 (09:12 +0300)
* Removing deprecated parameter

Fixes: https://github.com/vaadin/framework/issues/11958
server/src/main/java/com/vaadin/server/BootstrapHandler.java

index 832ef5ad9e6fe0563a262defc6f51b4ed74c9ee0..5bd1a13155402ac76a55d3dd123f48821e58b8a4 100644 (file)
@@ -510,8 +510,7 @@ public abstract class BootstrapHandler extends SynchronizedRequestHandler {
 
         Document document = response.getDocument();
 
-        DocumentType doctype = new DocumentType("html", "", "",
-                document.baseUri());
+        DocumentType doctype = new DocumentType("html", "", "");
         document.child(0).before(doctype);
 
         Element head = document.head();