Skip to content

Commit

Permalink
Remove threadSafeTypeParameterSetInScope().
Browse files Browse the repository at this point in the history
Callers are now all built against Error Prone including the new threadSafeTypeParametersInScope() which returns a Set, so we can safely use that method again.

RELNOTES: N/A

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=182079359
  • Loading branch information
ringw authored and ronshapiro committed Jan 17, 2018
1 parent ab74ac3 commit e89264d
Showing 1 changed file with 0 additions and 12 deletions.
Expand Up @@ -329,18 +329,6 @@ && isThreadSafeType(ImmutableSet.of(), enclosing).isPresent()) {
* </pre>
*/
public Set<String> threadSafeTypeParametersInScope(Symbol sym) {
return threadSafeTypeParameterSetInScope(sym);
}

/**
* Gets the set of in-scope threadsafe type parameters from the containerOf specs on annotations.
*
* @deprecated This method only exists to make a non-binary-compatible change to the {@link
* #threadSafeTypeParametersInScope} return value. It will be removed once all callers have
* been updated.
*/
@Deprecated
public Set<String> threadSafeTypeParameterSetInScope(Symbol sym) {
if (sym == null) {
return ImmutableSet.of();
}
Expand Down

0 comments on commit e89264d

Please sign in to comment.