Switch to unified view

a/tool/src/main/start.java b/tool/src/main/start.java
...
...
54
                // do the startup
54
                // do the startup
55
                Thread thread = new Thread(){
55
                Thread thread = new Thread(){
56
                @Override
56
                @Override
57
                public void run(){
57
                public void run(){
58
                     doStartup();
58
                     doStartup();
59
                     
59
                    }};
60
                    }};
60
                thread.start();
61
                thread.start();
61
            
62
            
62
                
63
                
63
                try{
64
                try{
...
...
84
      
85
      
85
    }
86
    }
86
    
87
    
87
    
88
    
88
    private static void doStartup() {
89
    private static void doStartup() {
90
        // find all SPDX documents that we have available
91
        core.refreshSPDX();
92
        
93
        // now mark our presence
89
                String text = utils.internet.getTextFile
94
        String text = utils.internet.getTextFile
90
                    ("http://triplecheck.de/settings.java");
95
            ("http://triplecheck.de/settings.java");
91
                // text can't be empty
96
        // text can't be empty
92
                if(text == null){
97
        if(text == null){
93
                    return;
98
            return;
94
                }
99
        }
95
                // save the contents to a file on disk
100
        // save the contents to a file on disk
96
                File startSettings = new File("settings.java");
101
        File startSettings = new File("settings.java");
97
                utils.files.SaveStringToFile(startSettings, text);
102
        utils.files.SaveStringToFile(startSettings, text);
98
                if(startSettings.exists()){
103
        if(startSettings.exists()){
99
                    return;
104
            return;
100
                }
105
        }
101
                // run our script
106
        // run our script
102
                core.script.runJava(startSettings, "start", is.plugin);
107
        core.script.runJava(startSettings, "start", is.plugin);
103
           }
104
     
108
   }
109
105
     
110
     
106
    
111
    
107
   public static String getDate(){
112
   public static String getDate(){
108
       String result = "";
113
       String result = "";
109
        try {
114
        try {