Skip to content
Snippets Groups Projects
Commit f8209982 authored by Radek Ošlejšek's avatar Radek Ošlejšek
Browse files

Fixed code styling

parent de9c96ab
No related branches found
No related tags found
No related merge requests found
......@@ -192,13 +192,13 @@ public class Canvas extends javax.swing.JPanel {
loadModelButton.setVisible(false);
loaded = true;
}
} catch (Exception e) {
System.out.println(e.getMessage());
JOptionPane.showMessageDialog(this, "File doesn't contain any model", "Model is not loaded.",
0, new ImageIcon(getClass().getResource("/cz/fidentis/analyst/gui/resources/notLoadedModel.png")));
System.out.println ("File doesn't contain any model");
loaded = false;
};
} catch (Exception e) {
System.out.println(e.getMessage());
JOptionPane.showMessageDialog(this, "File doesn't contain any model", "Model is not loaded.",
0, new ImageIcon(getClass().getResource("/cz/fidentis/analyst/gui/resources/notLoadedModel.png")));
System.out.println ("File doesn't contain any model");
loaded = false;
}
}
/**
......
......@@ -55,7 +55,7 @@
<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->
<module name="LineLength">
<property name="max" value="200"/>
<property name="max" value="220"/>
</module>
<module name="MethodLength">
<property name="max" value="50"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment