@@ -336,9 +336,8 @@ exprt::operandst java_string_library_preprocesst::process_operands(
336
336
for (const auto &p : operands)
337
337
{
338
338
if (implements_java_char_sequence_pointer (p.type ()))
339
- ops.push_back (
340
- convert_exprt_to_string_exprt (
341
- p, loc, symbol_table, function_id, init_code));
339
+ ops.push_back (convert_exprt_to_string_exprt (
340
+ p, loc, symbol_table, function_id, init_code));
342
341
else if (is_java_char_array_pointer_type (p.type ()))
343
342
ops.push_back (
344
343
replace_char_array (p, loc, function_id, symbol_table, init_code));
@@ -370,17 +369,15 @@ java_string_library_preprocesst::process_equals_function_operands(
370
369
const exprt &op1 = operands[1 ];
371
370
PRECONDITION (implements_java_char_sequence_pointer (op0.type ()));
372
371
373
- ops.push_back (
374
- convert_exprt_to_string_exprt (
375
- op0, loc, symbol_table, loc.get_function (), init_code));
372
+ ops.push_back (convert_exprt_to_string_exprt (
373
+ op0, loc, symbol_table, loc.get_function (), init_code));
376
374
377
375
// TODO: Manage the case where we have a non-String Object (this should
378
376
// probably be handled upstream. At any rate, the following code should be
379
377
// protected with assertions on the type of op1.
380
378
const typecast_exprt tcast (op1, to_pointer_type (op0.type ()));
381
- ops.push_back (
382
- convert_exprt_to_string_exprt (
383
- tcast, loc, symbol_table, loc.get_function (), init_code));
379
+ ops.push_back (convert_exprt_to_string_exprt (
380
+ tcast, loc, symbol_table, loc.get_function (), init_code));
384
381
return ops;
385
382
}
386
383
0 commit comments