Skip to content

Commit 64f767d

Browse files
committed
Fixed #986
1 parent 8e6f6ef commit 64f767d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gwt-material/src/main/java/gwt/material/design/client/pwa/serviceworker/ServiceWorkerManager.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.
99
* You may obtain a copy of the License at
10-
*
10+
*
1111
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
12+
*
1313
* Unless required by applicable law or agreed to in writing, software
1414
* distributed under the License is distributed on an "AS IS" BASIS,
1515
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -105,7 +105,7 @@ public void reload() {
105105
*/
106106
protected void setupRegistration() {
107107
if (isServiceWorkerSupported()) {
108-
Navigator.serviceWorker.register(getResource(), getOption()).then((e, object) -> {
108+
Navigator.serviceWorker.register(getResource(), getOption()).then((object) -> {
109109
logger.info("Service worker has been successfully registered");
110110
registration = (ServiceWorkerRegistration) object;
111111

0 commit comments

Comments
 (0)