Skip to content

Commit

Permalink
CCDM: fix sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
manolo committed Nov 29, 2019
1 parent a1e8c79 commit a1361ce
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions flow-server/src/main/java/com/vaadin/flow/server/PwaRegistry.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@ public class PwaRegistry implements Serializable {
private List<PwaIcon> icons = new ArrayList<>();
private final PwaConfiguration pwaConfiguration;

/**
* Creates a new PwaRegistry instance.
*
* @param pwa
* the pwa annotation
* @param servletContext
* the context
* @throws IOException
* when icon or offline resources are not found.
*/
public PwaRegistry(PWA pwa, ServletContext servletContext)
throws IOException {
if (System.getProperty(HEADLESS_PROPERTY) == null) {
Expand Down

0 comments on commit a1361ce

Please sign in to comment.