Skip to content

Commit 141d19a

Browse files
committed
Removed elvis operator.
1 parent a1690fb commit 141d19a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/org/influxdb/impl/InfluxDBImpl.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,10 @@ public void dropRetentionPolicy(final String rpName, final String database) {
923923

924924
private String getDatabase(final Query query) {
925925
String db = query.getDatabase();
926-
return db == null ? this.database : db;
926+
if (db == null) {
927+
return this.database;
928+
}
929+
return db;
927930
}
928931

929932
private interface ChunkProccesor {

0 commit comments

Comments
 (0)