Bug 1411654 - Part 6: Fix checkstyle. r=mcomella
☠☠ backed out by 64f824603458 ☠ ☠
authorNick Alexander <nalexander@mozilla.com>
Tue, 14 Nov 2017 09:49:27 -0800
changeset 453386 a371f3ef4312a1e3a6367a9b4e20d32a5c1e27c2
parent 453385 db978e2305562e02ebf790e1d8659f1736bd041b
child 453387 c2e51b70519f5c905179bf7ce410b7e98e4cf2d4
push id1648
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 12:45:47 +0000
treeherdermozilla-release@cbb9688c2eeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmcomella
bugs1411654
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1411654 - Part 6: Fix checkstyle. r=mcomella MozReview-Commit-ID: GPRogNGKQBJ
mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/model/Highlight.java
mobile/android/base/java/org/mozilla/gecko/updater/UpdateService.java
--- a/mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/model/Highlight.java
+++ b/mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/model/Highlight.java
@@ -221,9 +221,10 @@ public class Highlight implements Webpag
 
     @Override
     public long getUniqueId() {
         return historyId;
     }
 
     // The Highlights cursor automatically notifies of data changes, so nothing needs to be done here.
     @Override
-    public void onStateCommitted() {}}
+    public void onStateCommitted() {}
+}
--- a/mobile/android/base/java/org/mozilla/gecko/updater/UpdateService.java
+++ b/mobile/android/base/java/org/mozilla/gecko/updater/UpdateService.java
@@ -289,22 +289,24 @@ public class UpdateService extends Inten
         Permissions.from(this)
                 .withPermissions(Manifest.permission.WRITE_EXTERNAL_STORAGE)
                 .doNotPrompt()
                 .andFallback(new Runnable() {
                     @Override
                     public void run() {
                         showPermissionNotification();
                         sendCheckUpdateResult(CheckUpdateResult.NOT_AVAILABLE);
-                    }})
+                    }
+                })
                 .run(new Runnable() {
                     @Override
                     public void run() {
                         startDownload(info, flags);
-                    }});
+                    }
+                });
     }
 
     private void startDownload(UpdateInfo info, int flags) {
         AutoDownloadPolicy policy = getAutoDownloadPolicy();
 
         // We only start a download automatically if one of following criteria are met:
         //
         // - We have a FORCE_DOWNLOAD flag passed in