mirror of https://github.com/apache/druid.git
null check for something that cannot be null
This commit is contained in:
parent
0c35fe2cf4
commit
0712c666cb
|
@ -261,7 +261,7 @@ public class DatasourcesResource
|
|||
final DruidDataSource dataSource = getDataSource(dataSourceName.toLowerCase());
|
||||
final Interval theInterval = new Interval(interval.replace("_", "/"));
|
||||
|
||||
if (dataSource == null || interval == null) {
|
||||
if (dataSource == null) {
|
||||
return Response.noContent().build();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue