File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
src/main/java/com/neuronrobotics/bowlerstudio/assets Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -179,25 +179,6 @@ public static File loadFile() {
179179 } catch (IOException e ) {
180180 throw new RuntimeException (e .getMessage ());
181181 }
182- if (!PasswordManager .isAnonMode ()) {
183- String username = PasswordManager .getLoginID ();
184- if (username !=null )
185- try {
186- File file =ScriptingEngine .fileFromGit ("https://github.com/" +username +"/BowlerStudioConfiguration.git" , "database.json" );
187- if (file .exists ()) {
188- String contents = FileUtils .readFileToString (file , StandardCharsets .UTF_8 );
189- try (PrintWriter out = new PrintWriter (f .getAbsolutePath ())) {
190- out .println (contents );
191- } catch (FileNotFoundException e ) {
192- // Auto-generated catch block
193- e .printStackTrace ();
194- }
195- }
196- } catch (Exception e ) {
197- // Auto-generated catch block
198- e .printStackTrace ();
199- }
200- }
201182 }
202183 return f ;
203184 }
You can’t perform that action at this time.
0 commit comments