@Test public void testKSUri_isDiscoverScopePath() { assertTrue(KSUri.isDiscoverScopePath(this.discoverScopeUri.getPath(), "ending-soon")); }
public static boolean isDiscoverScopePath(final @NonNull String path, final @NonNull String scope) { final Matcher matcher = DISCOVER_SCOPE_PATTERN.matcher(path); return matcher.matches() && scope.equals(matcher.group(1)); }
KSUri { public static boolean isDiscoverScopePath(final @NonNull String path, final @NonNull String scope) { final Matcher matcher = DISCOVER_SCOPE_PATTERN.matcher(path); return matcher.matches() && scope.equals(matcher.group(1)); } }
KSUri { public static boolean isDiscoverScopePath(final @NonNull String path, final @NonNull String scope) { final Matcher matcher = DISCOVER_SCOPE_PATTERN.matcher(path); return matcher.matches() && scope.equals(matcher.group(1)); } private  KSUri(); }
KSUri { public static boolean isDiscoverScopePath(final @NonNull String path, final @NonNull String scope) { final Matcher matcher = DISCOVER_SCOPE_PATTERN.matcher(path); return matcher.matches() && scope.equals(matcher.group(1)); } private  KSUri(); static boolean isApiUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isCheckoutUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isDiscoverCategoriesPath(final @NonNull String path); static boolean isDiscoverScopePath(final @NonNull String path, final @NonNull String scope); static boolean isDiscoverPlacesPath(final @NonNull String path); static boolean isHivequeenUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isKickstarterUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isKSFavIcon(final Uri uri, final String webEndpoint); static boolean isWebViewUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isNewGuestCheckoutUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectPreviewUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isSignupUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isStagingUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isCheckoutThanksUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isModalUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectSurveyUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUpdateCommentsUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUpdateUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUpdatesUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isUserSurveyUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isWebUri(final @NonNull Uri uri, final @NonNull String webEndpoint); }
KSUri { public static boolean isDiscoverScopePath(final @NonNull String path, final @NonNull String scope) { final Matcher matcher = DISCOVER_SCOPE_PATTERN.matcher(path); return matcher.matches() && scope.equals(matcher.group(1)); } private  KSUri(); static boolean isApiUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isCheckoutUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isDiscoverCategoriesPath(final @NonNull String path); static boolean isDiscoverScopePath(final @NonNull String path, final @NonNull String scope); static boolean isDiscoverPlacesPath(final @NonNull String path); static boolean isHivequeenUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isKickstarterUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isKSFavIcon(final Uri uri, final String webEndpoint); static boolean isWebViewUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isNewGuestCheckoutUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectPreviewUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isSignupUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isStagingUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isCheckoutThanksUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isModalUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectSurveyUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUpdateCommentsUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUpdateUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUpdatesUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isUserSurveyUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isWebUri(final @NonNull Uri uri, final @NonNull String webEndpoint);  }