null check for something that cannot be null

This commit is contained in:
Xavier Léauté 2014-09-15 12:18:01 -07:00
parent 0c35fe2cf4
commit 0712c666cb
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}