Bug 1258794 - Pre: Add GenericWhitespace and fix single issue. r=nalexander draft
authorMichael Comella <michael.l.comella@gmail.com>
Wed, 06 Apr 2016 09:57:26 -0700
changeset 348104 039b10bfc53dd5fa4130d73a3cb09fb1ad6f9437
parent 347397 20df8310f734ecc938f1ad53e27759253ae14040
child 348105 922faa7b9913279b534a57c0e96fc627c8badddc
child 348107 7060396bc94a6ef41e2ef87fa6a419ff0171e8be
push id14750
push usermichael.l.comella@gmail.com
push dateWed, 06 Apr 2016 17:09:33 +0000
reviewersnalexander
bugs1258794
milestone48.0a1
Bug 1258794 - Pre: Add GenericWhitespace and fix single issue. r=nalexander MozReview-Commit-ID: DVO9zFQCRzZ
mobile/android/app/checkstyle.xml
mobile/android/base/java/org/mozilla/gecko/tabs/TabHistoryController.java
--- a/mobile/android/app/checkstyle.xml
+++ b/mobile/android/app/checkstyle.xml
@@ -35,15 +35,16 @@
 
     <!-- TODO: <property name="fileExtensions" value="java, properties, xml"/> -->
 
     <module name="FileTabCharacter"> <!-- No tabs! -->
         <property name="eachLine" value="true"/>
     </module>
 
     <module name="TreeWalker">
+        <module name="GenericWhitespace"/> <!-- whitespace for generics -->
         <module name="NoLineWrap">
             <property name="tokens" value="IMPORT,PACKAGE_DEF"/>
         </module>
         <module name="OuterTypeFilename"/> <!-- `class Lol` only in Lol.java -->
     </module>
 
 </module>
--- a/mobile/android/base/java/org/mozilla/gecko/tabs/TabHistoryController.java
+++ b/mobile/android/base/java/org/mozilla/gecko/tabs/TabHistoryController.java
@@ -22,17 +22,17 @@ public class TabHistoryController {
 
     public static enum HistoryAction {
         ALL,
         BACK,
         FORWARD
     };
 
     public interface OnShowTabHistory {
-        void onShowHistory(List<TabHistoryPage>historyPageList, int toIndex);
+        void onShowHistory(List<TabHistoryPage> historyPageList, int toIndex);
     }
 
     public TabHistoryController(OnShowTabHistory showTabHistoryListener) {
         this.showTabHistoryListener = showTabHistoryListener;
     }
 
     /**
      * This method will show the history for the current tab.