Merge pull request #3305 from wschaeferB/3330-RemoveHardCodedAutopsy

3330 remove hardcoded autopsy and add comment regarding 3334
This commit is contained in:
Richard Cordovano 2017-12-13 09:19:43 -05:00 committed by GitHub
commit 7484a310f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -999,6 +999,7 @@ public class Case {
}
private static String getNameForTitle(){
//Method should become unnecessary once technical debt story 3334 is done.
if (UserPreferences.getAppName().equals(Version.getName())){
//Available version number is version number for this application
return String.format("%s %s", UserPreferences.getAppName(), Version.getVersion());

View File

@ -357,7 +357,7 @@ public final class UserPreferences {
* @return Name of this program
*/
public static String getAppName() {
return preferences.get(APP_NAME, "Autopsy");
return preferences.get(APP_NAME, Version.getName());
}
/**