Skip to content

Commit

Permalink
doc change + sonar checks for stack traces
Browse files Browse the repository at this point in the history
  • Loading branch information
david-blasby committed Oct 9, 2024
1 parent 1259263 commit 9209137
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion gn_checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">

<!--modified for GN by adding suppression-->
<!--modified for GN by adding suppression
CF https://github.com/checkstyle/checkstyle/issues/11655
Almost all of this is from
https://github.com/checkstyle/checkstyle/blob/checkstyle-8.29/src/main/resources/google_checks.xml
-->


<!--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private QueryBuilder createGeo(GnElasticInfo gnElasticInfo, String userSearchTer
.relation(ShapeRelation.getRelationByName("intersects"));
return geoQuery;
} catch (IOException e) {
e.printStackTrace();
log.debug("problem constructing geoQuery - ignoring it!",e);
}
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public JsonSchema buildQueryables(String collectionId) {
var result = objectMapper.readValue(text, JsonSchema.class);
return result;
} catch (IOException e) {
e.printStackTrace();
log.debug("problem reading in Queryables - is it mal-formed?",e);
}

return null;
Expand Down

0 comments on commit 9209137

Please sign in to comment.