summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-10-13 15:11:49 +0200
committerTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-10-13 16:11:49 +0300
commitf42e0cc6f2c8623d3acb0033222cd6360e5f521a (patch)
tree264dd788ca94754373c50b1d41fb9536b55ab757 /shared
parente651d542cbef31cfc09786e1978e33915cb68a27 (diff)
downloadvaadin-framework-f42e0cc6f2c8623d3acb0033222cd6360e5f521a.tar.gz
vaadin-framework-f42e0cc6f2c8623d3acb0033222cd6360e5f521a.zip
Fix some checkstyle warnings (#10179)
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/osgi/resources/impl/VaadinResourceTrackerComponent.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/shared/src/main/java/com/vaadin/osgi/resources/impl/VaadinResourceTrackerComponent.java b/shared/src/main/java/com/vaadin/osgi/resources/impl/VaadinResourceTrackerComponent.java
index adbde7d798..6f57c395d4 100644
--- a/shared/src/main/java/com/vaadin/osgi/resources/impl/VaadinResourceTrackerComponent.java
+++ b/shared/src/main/java/com/vaadin/osgi/resources/impl/VaadinResourceTrackerComponent.java
@@ -67,8 +67,9 @@ public class VaadinResourceTrackerComponent {
BundleContext context = bundle.getBundleContext();
OsgiVaadinTheme theme = context.getService(themeRef);
- if (theme == null)
+ if (theme == null) {
return;
+ }
VaadinResourceService resourceService = OsgiVaadinResources
.getService();
@@ -105,8 +106,9 @@ public class VaadinResourceTrackerComponent {
BundleContext context = bundle.getBundleContext();
OsgiVaadinWidgetset widgetset = context.getService(widgetsetRef);
- if (widgetset == null)
+ if (widgetset == null) {
return;
+ }
VaadinResourceService service = OsgiVaadinResources.getService();
try {