Bug 1106935 - review: Correct import style; fix comment grammar. r=mhaigh
authorMichael Comella <michael.l.comella@gmail.com>
Mon, 02 Feb 2015 08:28:51 -0800
changeset 227320 a9cc1659d77fb659ed0cf7bcfad94a8951b9c587
parent 227319 a08c30389a7225f3775b726bd52c552a29550f21
child 227321 9c18e56a7b50990d651257c3d8462ddfa2a65266
push id28227
push usercbook@mozilla.com
push dateWed, 04 Feb 2015 13:03:03 +0000
treeherdermozilla-central@121149b9443a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmhaigh
bugs1106935
milestone38.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 1106935 - review: Correct import style; fix comment grammar. r=mhaigh
mobile/android/base/home/TopSitesThumbnailView.java
mobile/android/base/toolbar/BrowserToolbarPhoneBase.java
mobile/android/base/toolbar/BrowserToolbarTablet.java
--- a/mobile/android/base/home/TopSitesThumbnailView.java
+++ b/mobile/android/base/home/TopSitesThumbnailView.java
@@ -2,29 +2,29 @@
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 package org.mozilla.gecko.home;
 
 import org.mozilla.gecko.R;
 import org.mozilla.gecko.ThumbnailHelper;
+import org.mozilla.gecko.util.HardwareUtils;
 
 import android.content.Context;
 import android.content.res.Resources;
 import android.graphics.Bitmap;
 import android.graphics.Canvas;
 import android.graphics.Matrix;
 import android.graphics.Paint;
 import android.graphics.PorterDuff.Mode;
 import android.graphics.RectF;
 import android.graphics.drawable.Drawable;
 import android.util.AttributeSet;
 import android.widget.ImageView;
-import org.mozilla.gecko.util.HardwareUtils;
 
 /**
  * A height constrained ImageView to show thumbnails of top and pinned sites.
  */
 public class TopSitesThumbnailView extends ImageView {
     private static final String LOGTAG = "GeckoTopSitesThumbnailView";
 
     // 27.34% opacity filter for the dominant color.
--- a/mobile/android/base/toolbar/BrowserToolbarPhoneBase.java
+++ b/mobile/android/base/toolbar/BrowserToolbarPhoneBase.java
@@ -8,28 +8,28 @@ package org.mozilla.gecko.toolbar;
 import java.util.Arrays;
 
 import org.mozilla.gecko.R;
 import org.mozilla.gecko.Tab;
 import org.mozilla.gecko.Telemetry;
 import org.mozilla.gecko.TelemetryContract;
 import org.mozilla.gecko.animation.PropertyAnimator;
 import org.mozilla.gecko.animation.ViewHelper;
+import org.mozilla.gecko.widget.ThemedImageView;
 
 import android.content.Context;
 import android.content.res.Resources;
 import android.graphics.Canvas;
 import android.graphics.Paint;
 import android.graphics.Path;
 import android.util.AttributeSet;
 import android.view.View;
 import android.view.animation.AccelerateInterpolator;
 import android.view.animation.Interpolator;
 import android.widget.ImageView;
-import org.mozilla.gecko.widget.ThemedImageView;
 
 /**
  * A base implementations of the browser toolbar for phones.
  * This class manages any Views, variables, etc. that are exclusive to phone.
  */
 abstract class BrowserToolbarPhoneBase extends BrowserToolbar {
 
     protected final ImageView urlBarTranslatingEdge;
--- a/mobile/android/base/toolbar/BrowserToolbarTablet.java
+++ b/mobile/android/base/toolbar/BrowserToolbarTablet.java
@@ -168,17 +168,17 @@ class BrowserToolbarTablet extends Brows
 
     @Override
     public void triggerTabsPanelTransition(final PropertyAnimator animator, final boolean areTabsShown) {
         // Do nothing.
     }
 
     @Override
     public void setToolBarButtonsAlpha(float alpha) {
-        // Do nothing;
+        // Do nothing.
     }
 
 
     @Override
     public void startEditing(final String url, final PropertyAnimator animator) {
         // We already know the forward button state - no need to store it here.
         backButtonWasEnabledOnStartEditing = backButton.isEnabled();