Skip to content

Commit c4f892a

Browse files
committed
Do not init preference with null
1 parent 018dc98 commit c4f892a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terminal/bundles/org.eclipse.terminal.view.ui/src/org/eclipse/terminal/view/ui/internal/preferences/PreferencesInitializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ public void initializeDefaultPreferences() {
3131
IPreferenceStore prefs = UIPlugin.getScopedPreferences();
3232
prefs.setDefault(IPreferenceKeys.PREF_REMOVE_TERMINATED_TERMINALS, true);
3333
prefs.setDefault(IPreferenceKeys.PREF_LOCAL_TERMINAL_INITIAL_CWD, IPreferenceKeys.PREF_INITIAL_CWD_USER_HOME);
34-
prefs.setDefault(IPreferenceKeys.PREF_LOCAL_TERMINAL_DEFAULT_SHELL_UNIX, null);
34+
prefs.setDefault(IPreferenceKeys.PREF_LOCAL_TERMINAL_DEFAULT_SHELL_UNIX, ""); //$NON-NLS-1$
3535
}
3636
}

0 commit comments

Comments
 (0)