- Timestamp:
- 11/06/19 16:17:13 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/management/ProfileManager.java
r1434 r1440 28 28 public class ProfileManager { 29 29 30 private static final String USER_NAME_PATTERN_INTERNAL = "USER .NAME";30 private static final String USER_NAME_PATTERN_INTERNAL = "USER_NAME"; 31 31 private static final String DEFAULT = UserSettings.DEFAULT_PROFILE_NAME; 32 32 private static final String[] startPages = { "exploratorysearch", "webbrowser" }; … … 71 71 // 2. Copy item from defaultFrame to the current profile frame being 72 72 // constructed. 73 // 3. Replace instance of ${USER .NAME} with 'profileFor'73 // 3. Replace instance of ${USER_NAME} with 'profileFor' 74 74 // 4. Replace settings values of copied items with those specified in 75 75 // specifiedSettings (if present) … … 85 85 if (item instanceof Text) { 86 86 String content = item.getText(); 87 item.setText(ResourceUtil.substitute(content, ProfileManager.USER_NAME_PATTERN _INTERNAL, profileFor));87 item.setText(ResourceUtil.substitute(content, ProfileManager.USER_NAME_PATTERN, profileFor)); 88 88 } 89 89 }
Note:
See TracChangeset
for help on using the changeset viewer.