getInitialPage static method

int getInitialPage(
  1. int initialPage
)

Implementation

static int getInitialPage(int initialPage) {
  if (initialPage == 0) return 1;
  return initialPage;
}