File () { File repoPath = ourLocalRepositoryPath; if (repoPath != null) { return repoPath; } final String expanded = PathMacroManager.getInstance(ApplicationManager.getApplication()).expandPath(MAVEN_REPOSITORY_MACRO); if (!MAVEN_REPOSITORY_MACRO.equals(expanded)) { repoPath = new File(expanded); if (repoPath.exists()) { try { repoPath = repoPath.getCanonicalFile(); } catch (IOException ignored) { } ourLocalRepositoryPath = repoPath; return repoPath; } } final String userHome = System.getProperty("user.home", null); repoPath = userHome != null ? new File(userHome, DEFAULT_REPOSITORY_PATH) : new File(DEFAULT_REPOSITORY_PATH); ourLocalRepositoryPath = repoPath; return repoPath; }