Skip to content

Commit

Permalink
fixing code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Felk authored and roman-barannyk committed Jul 3, 2023
1 parent 7c7eab5 commit ae739c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import org.apache.logging.log4j.Logger;
import org.folio.circulation.rules.cache.CirculationRulesCache;
import org.folio.circulation.support.Clients;
import org.folio.circulation.support.ServerErrorFailure;
import org.folio.circulation.support.http.server.NoContentResponse;
import org.folio.circulation.support.http.server.WebContext;
import org.folio.circulation.support.results.CommonFailures;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ private static String getRulesAsText(Response response, String tenantId) {
log.info("Fetched rules for tenant {}", tenantId);

final var circulationRules = new JsonObject(response.getBody());
log.info("circulationRules = {}", circulationRules.encodePrettily());
var encodeRules = circulationRules.encodePrettily();
log.info("circulationRules = {}", encodeRules);

return circulationRules.getString("rulesAsText");
}
Expand Down

0 comments on commit ae739c2

Please sign in to comment.