Added check for invalid scope

This commit is contained in:
Pablo Fernandez committed 2010-10-20 10:43:38 -03:00
1 parent 1f94997120
commit 5d86982421
1 file changed
+1
@@ -101,6 +101,7 @@ public class ServiceBuilder
*/
public ServiceBuilder scope(String scope)
{
Preconditions.checkEmptyString(scope, "Invalid OAuth scope");
this.scope = scope;
return this;
}