Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / content / public / android / java / src / org / chromium / content / browser / NavigationHistory.java
index 43f2074..6e4347b 100644 (file)
@@ -8,12 +8,12 @@ import java.util.ArrayList;
 
 /**
  * {@link NavigationHistory} captures a snapshot of the navigation history of a
- * {@link ContentView}. It is a copy and will not be updated as navigation
- * occurs on the source {@link ContentView}.
+ * {@link ContentViewCore}. It is a copy and will not be updated as navigation
+ * occurs on the source {@link ContentViewCore}.
  */
 public class NavigationHistory {
 
-    private ArrayList<NavigationEntry> mEntries = new ArrayList<NavigationEntry>();
+    private final ArrayList<NavigationEntry> mEntries = new ArrayList<NavigationEntry>();
     private int mCurrentEntryIndex;
 
     protected void addEntry(NavigationEntry entry) {
@@ -39,7 +39,7 @@ public class NavigationHistory {
     }
 
     /**
-     * Returns the index of the entry the {@link ContentView} was navigated to
+     * Returns the index of the entry the {@link ContentViewCore} was navigated to
      * when the history was fetched.
      */
     public int getCurrentEntryIndex() {