Make private two new methods accidentally exposed in ActivityManager Review at http://gwt-code-reviews.appspot.com/1449811 Review by: rchandia@google.com git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10273 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/activity/shared/ActivityManager.java b/user/src/com/google/gwt/activity/shared/ActivityManager.java index 8cb9a33..200357b 100644 --- a/user/src/com/google/gwt/activity/shared/ActivityManager.java +++ b/user/src/com/google/gwt/activity/shared/ActivityManager.java
@@ -181,7 +181,25 @@ } } - public Throwable tryStart() { + private Activity getNextActivity(PlaceChangeEvent event) { + if (display == null) { + /* + * Display may have been nulled during PlaceChangeEvent dispatch. Don't + * bother the mapper, just return a null to ensure we shut down the + * current activity + */ + return null; + } + return mapper.getActivity(event.getNewPlace()); + } + + private void showWidget(IsWidget view) { + if (display != null) { + display.setWidget(view); + } + } + + private Throwable tryStart() { Throwable caughtOnStart = null; try { /* Wrap the actual display with a per-call instance @@ -196,7 +214,7 @@ return caughtOnStart; } - public Throwable tryStopOrCancel(boolean stop) { + private Throwable tryStopOrCancel(boolean stop) { Throwable caughtOnStop = null; try { if (stop) { @@ -216,24 +234,6 @@ return caughtOnStop; } - private Activity getNextActivity(PlaceChangeEvent event) { - if (display == null) { - /* - * Display may have been nulled during PlaceChangeEvent dispatch. Don't - * bother the mapper, just return a null to ensure we shut down the - * current activity - */ - return null; - } - return mapper.getActivity(event.getNewPlace()); - } - - private void showWidget(IsWidget view) { - if (display != null) { - display.setWidget(view); - } - } - private void updateHandlers(boolean activate) { if (activate) { final HandlerRegistration placeReg = eventBus.addHandler(