diff options
author | Leif Åstrand <legioth@gmail.com> | 2017-04-13 13:30:28 +0300 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2017-04-13 12:30:28 +0200 |
commit | 7d4595c25cc510d36eef2c327a57d45c44b192dd (patch) | |
tree | e6cffe97771a19cb3b6228c811e17fb7839eb4d5 /client-compiler | |
parent | a4a4d9e064f06ad4cdc2801db75955872a3acf45 (diff) | |
download | vaadin-framework-7d4595c25cc510d36eef2c327a57d45c44b192dd.tar.gz vaadin-framework-7d4595c25cc510d36eef2c327a57d45c44b192dd.zip |
Add LoadStyle.NONE for completely omitting a connector
Diffstat (limited to 'client-compiler')
-rw-r--r-- | client-compiler/src/main/java/com/vaadin/server/widgetsetutils/ConnectorBundleLoaderFactory.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client-compiler/src/main/java/com/vaadin/server/widgetsetutils/ConnectorBundleLoaderFactory.java b/client-compiler/src/main/java/com/vaadin/server/widgetsetutils/ConnectorBundleLoaderFactory.java index 0432c716ff..8ac6e8e4e7 100644 --- a/client-compiler/src/main/java/com/vaadin/server/widgetsetutils/ConnectorBundleLoaderFactory.java +++ b/client-compiler/src/main/java/com/vaadin/server/widgetsetutils/ConnectorBundleLoaderFactory.java @@ -1158,6 +1158,12 @@ public class ConnectorBundleLoaderFactory extends Generator { bundles.add(bundle); } + Collection<JClassType> none = connectorsByLoadStyle.get(LoadStyle.NONE); + for (JClassType type : none) { + logger.log(Type.TRACE, + "Ignoring " + type.getName() + " with LoadStyle.NONE"); + } + return bundles; } |