File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
src/org/opensolaris/opengrok/configuration Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -657,7 +657,7 @@ public String getHeaderIncludeFileContent() {
657
657
* contains definition tags.
658
658
*/
659
659
public static final String EFTAR_DTAGS_FILE = "index/dtags.eftar" ;
660
- private transient String dtagsEftar = null ;
660
+ private transient File dtagsEftar = null ;
661
661
662
662
/**
663
663
* Get the eftar file, which contains definition tags.
@@ -668,12 +668,10 @@ public File getDtagsEftar() {
668
668
if (dtagsEftar == null ) {
669
669
File tmp = new File (getDataRoot () + "/" + EFTAR_DTAGS_FILE );
670
670
if (tmp .canRead ()) {
671
- dtagsEftar = tmp .getName ();
672
- } else {
673
- dtagsEftar = "" ;
671
+ dtagsEftar = tmp ;
674
672
}
675
673
}
676
- return dtagsEftar . isEmpty () ? null : new File ( dtagsEftar ) ;
674
+ return dtagsEftar ;
677
675
}
678
676
679
677
public String getDatabaseDriver () {
You can’t perform that action at this time.
0 commit comments