code formatting

This commit is contained in:
Jindra Petk
2013-04-27 20:54:58 +02:00
parent 4b76274387
commit 4367e5ae51
2 changed files with 3 additions and 4 deletions

View File

@@ -25,5 +25,4 @@ public class EndOfStreamException extends RuntimeException {
public EndOfStreamException() {
super("Premature end of the stream reached");
}
}

View File

@@ -79,12 +79,12 @@ public class Main {
private static boolean commandLineMode = false;
public static MainFrame mainFrame;
private static void loadProperties(){
private static void loadProperties() {
Properties prop = new Properties();
try {
prop.load(Main.class.getResourceAsStream("/project.properties"));
version = prop.getProperty("version");
applicationVerName = applicationName + " v."+version;
applicationVerName = applicationName + " v." + version;
updatePage = updatePageStub + version;
shortApplicationVerName = shortApplicationName + " v." + version;
} catch (IOException ex) {
@@ -467,7 +467,7 @@ public class Main {
*/
public static void main(String[] args) throws IOException {
loadProperties();
View.setLookAndFeel();
View.setLookAndFeel();
Configuration.load();
int pos = 0;