Skip to content

Commit

Permalink
Sonar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fugerit79 committed May 14, 2024
1 parent 06c33b6 commit 6bd6bbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ private void handleKts( DocTypeHandler handler, String type, Reader reader, Byte
log.info( "kts create script bindings : {}", checkpoint.getFormatTimeDiffMillis() );
ObjectMapper mapper = new ObjectMapper();
try ( StringReader jsonReader = new StringReader(ktsJsonData) ) {
LinkedHashMap data = mapper.readValue( jsonReader, LinkedHashMap.class );
LinkedHashMap<String, Object> data = mapper.readValue( jsonReader, LinkedHashMap.class );
log.info( "kts read json data : {}", checkpoint.getFormatTimeDiffMillis() );
bindings.put( "data", data );
engine.setBindings( bindings, ScriptContext.ENGINE_SCOPE );
Expand Down

0 comments on commit 6bd6bbc

Please sign in to comment.