79149367

Date: 2024-11-01 20:43:45
Score: 0.5
Natty:
Report link

For sure I would try to find a better way but... Not sure if you can add a variable boolean success to avoid it but you can build it get the value and continue with another builder instance:

Something temp= builder.build();
boolean success= temp.isSuccess();
builder= temp.toBuilder(); 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Martin P.