package org.wikipedia.page;

import android.support.annotation.NonNull;

import org.wikipedia.history.HistoryEntry;
import org.wikipedia.model.BaseModel;

public class PageBackStackItem extends BaseModel {
    private final PageTitle title;
    public PageTitle getTitle() {
        return title;
    }

    @NonNull private final HistoryEntry historyEntry;
    @NonNull public HistoryEntry getHistoryEntry() {
        return historyEntry;
    }

    private int scrollY;
    public int getScrollY() {
        return scrollY;
    }
    public void setScrollY(int scrollY) {
        this.scrollY = scrollY;
    }

    public PageBackStackItem(PageTitle title, @NonNull HistoryEntry historyEntry) {
        this.title = title;
        this.historyEntry = historyEntry;
    }
}
@@ -230,24 +230,265 @@
 itle title;%0A
+    @NonNull private final HistoryEntry historyEntry;%0A    private int scrollY;%0A%0A    public PageBackStackItem(PageTitle title, @NonNull HistoryEntry historyEntry) %7B%0A        this.title = title;%0A        this.historyEntry = historyEntry;%0A    %7D%0A%0A
     public P
@@ -542,62 +542,8 @@
  %7D%0A%0A
-    @NonNull private final HistoryEntry historyEntry;%0A
     
@@ -631,33 +631,8 @@
  %7D%0A%0A
-    private int scrollY;%0A
     
@@ -687,16 +687,17 @@
 ;%0A    %7D%0A
+%0A
     publ
@@ -771,167 +771,6 @@
    %7D
-%0A%0A    public PageBackStackItem(PageTitle title, @NonNull HistoryEntry historyEntry) %7B%0A        this.title = title;%0A        this.historyEntry = historyEntry;%0A    %7D
 %0A%7D

reorder PageBackStackItem methods