Open aquohn opened 4 years ago
Maybe, I think, because MultiFormatReader is something from the library, so not counted as LOD violation by the person who wrote the code snippet
qrCodeResult is also created within the method. So no violation
@okkhoy Just to clarify, if something like this would to come out:
String result = new MultiFormatReader().decode().getInfo().getText().toString();
This does not constitutes to violation of LOD because of the new
keyword?
In the above image, isn't LoD violated by the code? The method call is essentially:
(new MultiFormatReader()).decode(...).getText()
Wouldn't an LoD-compliant implementation be:
(new MultiFormatReader()).decodeToText(...)
?