Search service configurable index settings
[aai/search-data-service.git] / src / test / java / org / onap / aai / sa / searchdbabstraction / searchapi / QueryTest.java
index 2f22605..1f4887f 100644 (file)
@@ -29,7 +29,6 @@ import com.fasterxml.jackson.databind.ObjectMapper;
 import java.io.IOException;
 import org.junit.Test;
 
-
 public class QueryTest {
 
     /**
@@ -148,7 +147,7 @@ public class QueryTest {
         // 'greater than' and 'greater than and equal to' operators.
         boolean gotExpectedException = false;
         try {
-            RangeQuery badRangeQuery = mapper.readValue(invalidGTAndGTE, RangeQuery.class);
+            mapper.readValue(invalidGTAndGTE, RangeQuery.class);
         } catch (JsonMappingException e) {
             gotExpectedException = true;
         }
@@ -159,7 +158,7 @@ public class QueryTest {
         // 'less than' and 'less than and equal to' operators.
         gotExpectedException = false;
         try {
-            RangeQuery badRangeQuery = mapper.readValue(invalidLTAndLTE, RangeQuery.class);
+            mapper.readValue(invalidLTAndLTE, RangeQuery.class);
         } catch (JsonMappingException e) {
             gotExpectedException = true;
         }
@@ -170,7 +169,7 @@ public class QueryTest {
         // in the same query.
         gotExpectedException = false;
         try {
-            RangeQuery badRangeQuery = mapper.readValue(invalidTypes, RangeQuery.class);
+            mapper.readValue(invalidTypes, RangeQuery.class);
         } catch (JsonMappingException e) {
             gotExpectedException = true;
         }