@@ -91,7 +91,7 @@ public QueryManager(BulletConfig config) {
9191 boolean enable = config .getAs (BulletConfig .QUERY_PARTITIONER_ENABLE , Boolean .class );
9292 if (enable ) {
9393 partitioner = config .loadConfiguredClass (BulletConfig .QUERY_PARTITIONER_CLASS_NAME );
94- log .info ("Partitioning for queries is enabled. Using %s " , partitioner .getClass ().getName ());
94+ log .info ("Partitioning for queries is enabled. Using {} " , partitioner .getClass ().getName ());
9595 } else {
9696 partitioner = new NoPartitioner ();
9797 }
@@ -112,7 +112,7 @@ public void addQuery(String id, Querier querier) {
112112 Set <String > partition = partitioning .getOrDefault (key , new HashSet <>());
113113 partition .add (id );
114114 partitioning .put (key , partition );
115- log .debug ("Added query: %s to partition: %s " , id , key );
115+ log .debug ("Added query: {} to partition: {} " , id , key );
116116 }
117117 queries .put (id , querier );
118118 }
@@ -131,7 +131,7 @@ public Querier removeAndGetQuery(String id) {
131131 Set <String > keys = partitioner .getKeys (query );
132132 for (String key : keys ) {
133133 partitioning .get (key ).remove (id );
134- log .debug ("Removed query: %s from partition: %s " , id , key );
134+ log .debug ("Removed query: {} from partition: {} " , id , key );
135135 }
136136 }
137137 return querier ;
@@ -205,7 +205,7 @@ public Map<String, Querier> partition(BulletRecord record) {
205205 int allQueries = queries .size ();
206206 this .queriesSeen += queriesSeen ;
207207 expectedQueriesSeen += allQueries ;
208- log .trace ("Retrieved %d/%d queries for record: %s " , queriesSeen , allQueries , record );
208+ log .trace ("Retrieved {}/{} queries for record: {} " , queriesSeen , allQueries , record );
209209 return queriers ;
210210 }
211211
0 commit comments