Bug 1258794 - Pre: Add GenericWhitespace and fix single issue. r=nalexander
MozReview-Commit-ID: DVO9zFQCRzZ
--- 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.