mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 08:56:15 +00:00
disable PMD/codacy warning about catching NPE
This commit is contained in:
parent
e134108767
commit
b6f33bf798
@ -171,7 +171,7 @@ final public class VisualizationPanel extends JPanel implements Lookup.Provider
|
|||||||
public void paint(Graphics graphics) {
|
public void paint(Graphics graphics) {
|
||||||
try {
|
try {
|
||||||
super.paint(graphics);
|
super.paint(graphics);
|
||||||
} catch (NullPointerException ex) {
|
} catch (NullPointerException ex) { //NOPMD We can't find the underlying cause in jgraphx
|
||||||
logger.log(Level.WARNING, "There was a NPE while painging the VisualizaitonPanel.", ex);
|
logger.log(Level.WARNING, "There was a NPE while painging the VisualizaitonPanel.", ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user