@@ -189,7 +189,7 @@ public void createWithPrimarySort() {
189189 assertThat (info .getType (), is (ViewType .ARANGO_SEARCH ));
190190 assertThat (db .arangoSearch (viewName ).exists (), is (true ));
191191
192- if (isAtLeastVersion (3 ,7 )){
192+ if (isAtLeastVersion (3 , 7 )) {
193193 final ArangoSearchPropertiesEntity properties = view .getProperties ();
194194 assertThat (properties .getPrimarySortCompression (), is (ArangoSearchCompression .none ));
195195 Collection <StoredValue > retrievedStoredValues = properties .getStoredValues ();
@@ -371,16 +371,16 @@ private void createGetAndDeleteTypedAnalyzer(SearchAnalyzer analyzer) {
371371 }
372372
373373 private void compareProperties (Map <String , Object > actualProperties , Map <String , Object > expectedProperties ) {
374- expectedProperties .forEach ((key , value ) -> {
375- Object expectedValue = actualProperties .get (key );
376- if (value instanceof Map ) {
377- assertThat (expectedValue , notNullValue ());
378- assertThat (expectedValue , instanceOf (Map .class ));
379- compareProperties ((Map ) value , (Map ) expectedValue );
380- } else if ( value instanceof Number ){
381- assertThat (Double .valueOf (value .toString ()), is (Double .valueOf (expectedValue .toString ())));
382- }else {
383- assertThat (value , is (expectedValue ));
374+ expectedProperties .forEach ((key , expectedValue ) -> {
375+ Object actualValue = actualProperties .get (key );
376+ if (expectedValue instanceof Map ) {
377+ assertThat (actualValue , notNullValue ());
378+ assertThat (actualValue , instanceOf (Map .class ));
379+ compareProperties ((Map ) actualValue , (Map ) expectedValue );
380+ } else if ( expectedValue instanceof Number ) {
381+ assertThat (Double .valueOf (actualValue .toString ()), is (Double .valueOf (expectedValue .toString ())));
382+ } else {
383+ assertThat (actualValue , is (expectedValue ));
384384 }
385385 });
386386 }
@@ -943,8 +943,8 @@ public void geoPointAnalyzer() {
943943 options .setMinLevel (8 );
944944
945945 GeoPointAnalyzerProperties properties = new GeoPointAnalyzerProperties ();
946- properties .setLatitude (new String []{"a" , "b" ,"c" });
947- properties .setLongitude (new String []{"d" , "e" ,"f" });
946+ properties .setLatitude (new String []{"a" , "b" , "c" });
947+ properties .setLongitude (new String []{"d" , "e" , "f" });
948948 properties .setOptions (options );
949949
950950 Set <AnalyzerFeature > features = new HashSet <>();
0 commit comments