mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
17 lines
426 B
Java
17 lines
426 B
Java
import java.net.URL;
|
|
import okhttp3.HttpUrl;
|
|
import retrofit2.Retrofit;
|
|
|
|
public class Test {
|
|
public Object source() {
|
|
return null;
|
|
}
|
|
|
|
public void test() {
|
|
Retrofit.Builder builder = new Retrofit.Builder();
|
|
builder.baseUrl((String) source()); // $ hasValueFlow
|
|
builder.baseUrl((URL) source()); // $ hasValueFlow
|
|
builder.baseUrl((HttpUrl) source()); // $ hasValueFlow
|
|
}
|
|
}
|