Remove call to printStackTrace() in test code. #1555
Fixes `ThrowablePrintStackTrace` inspection violations in test code. Description: >Reports any calls to Throwable.printStackTrace() without arguments. Such statements are often used for temporary debugging, and should probably be either removed from production code, or replaced with a more robust logging facility.
This commit is contained in:
parent
b543f32fd7
commit
885fca8fe9
|
|
@ -345,7 +345,6 @@ public class CustomImportOrderCheckTest extends BaseCheckTestSupport {
|
|||
actual = method.invoke(t, (DetailAST) null);
|
||||
}
|
||||
catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
actual = null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue