Skip to content

Commit

Permalink
Merge pull request #1022 from google/since-4.1
Browse files Browse the repository at this point in the history
update @SInCE 5.0 -> @SInCE 4.1
  • Loading branch information
sameb authored Jun 17, 2016
2 parents 01e417a + 18b8e9a commit cc7bb93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ protected final FilterKeyBindingBuilder filter(String urlPattern, String... more

/**
* @param urlPatterns Any Servlet-style patterns. examples: /*, /html/*, *.html, etc.
* @since 5.0
* @since 4.1
*/
protected final FilterKeyBindingBuilder filter(Iterable<String> urlPatterns) {
return getFiltersModuleBuilder().filter(ImmutableList.copyOf(urlPatterns));
Expand All @@ -273,7 +273,7 @@ protected final FilterKeyBindingBuilder filterRegex(String regex, String... rege

/**
* @param regexes Any Java-style regular expressions.
* @since 5.0
* @since 4.1
*/
protected final FilterKeyBindingBuilder filterRegex(Iterable<String> regexes) {
return getFiltersModuleBuilder().filterRegex(ImmutableList.copyOf(regexes));
Expand All @@ -290,7 +290,7 @@ protected final ServletKeyBindingBuilder serve(String urlPattern, String... more

/**
* @param urlPatterns Any Servlet-style patterns. examples: /*, /html/*, *.html, etc.
* @since 5.0
* @since 4.1
*/
protected final ServletKeyBindingBuilder serve(Iterable<String> urlPatterns) {
return getServletModuleBuilder().serve(ImmutableList.copyOf(urlPatterns));
Expand All @@ -307,7 +307,7 @@ protected final ServletKeyBindingBuilder serveRegex(String regex, String... rege

/**
* @param regexes Any Java-style regular expressions.
* @since 5.0
* @since 4.1
*/
protected final ServletKeyBindingBuilder serveRegex(Iterable<String> regexes) {
return getServletModuleBuilder().serveRegex(ImmutableList.copyOf(regexes));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public static <T> Callable<T> transferRequest(Callable<T> callable) {
* @return an object that when opened will initiate the request scope
* @throws OutOfScopeException if this method is called from a non-request
* thread, or if the request has completed.
* @since 5.0
* @since 4.1
*/
public static RequestScoper transferRequest() {
return (GuiceFilter.localContext.get() != null)
Expand Down Expand Up @@ -372,7 +372,7 @@ public static <T> Callable<T> scopeRequest(Callable<T> callable,
* request scope with. To seed a key with null, use {@code null} as
* the value.
* @return an object that when opened will initiate the request scope
* @since 5.0
* @since 4.1
*/
public static RequestScoper scopeRequest(Map<Key<?>, Object> seedMap) {
Preconditions.checkArgument(null != seedMap,
Expand Down

0 comments on commit cc7bb93

Please sign in to comment.