File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
org.eclipse.jgit/src/org/eclipse/jgit/util Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1717import java .io .IOException ;
1818import java .net .InetAddress ;
1919import java .net .UnknownHostException ;
20- // import java.nio.file.InvalidPathException;
20+ import java .nio .file .InvalidPathException ;
2121import java .nio .file .Path ;
22- // import java.nio.file.Paths;
22+ import java .nio .file .Paths ;
2323import java .security .AccessControlException ;
2424import java .security .AccessController ;
2525import java .security .PrivilegedAction ;
@@ -117,7 +117,7 @@ public FileBasedConfig openUserConfig(Config parent, FS fs) {
117117 }
118118
119119 private Path getXDGConfigHome (FS fs ) {
120- /* String configHomePath = getenv(Constants.XDG_CONFIG_HOME);
120+ String configHomePath = getenv (Constants .XDG_CONFIG_HOME );
121121 if (StringUtils .isEmptyOrNull (configHomePath )) {
122122 configHomePath = new File (fs .userHome (), ".config" ) //$NON-NLS-1$
123123 .getAbsolutePath ();
@@ -127,7 +127,7 @@ private Path getXDGConfigHome(FS fs) {
127127 } catch (InvalidPathException e ) {
128128 LOG .error (JGitText .get ().logXDGConfigHomeInvalid ,
129129 configHomePath , e );
130- }*/
130+ }
131131 return null ;
132132 }
133133
You can’t perform that action at this time.
0 commit comments