Source:
<code>public void start(BundleContext context) throws Exception { super.start(context); PreferencesHint.registerPreferenceStore(DiagramUIPlugin.DIAGRAM_PREFERENCES_HINT, getPreferenceStore()); dynamicPreferences = new DynamicDiagramUIPreferences(getPreferenceStore()); IPropertyChangeListener exportDialogDefaultSettingsUpdater = new IPropertyChangeListener() { @Override public void propertyChange(PropertyChangeEvent event) { if (SiriusDiagramUiPreferencesKeys.PREF_SCALE_DIAGRAMS_ON_EXPORT.name().equals(event.getProperty())) { Object value = event.getNewValue(); if (value instanceof Boolean) { updateExportDialogSettings(((Boolean) value).booleanValue()); } else { updateExportDialogSettings(false); <START> <END> } } } private void updateExportDialogSettings(boolean value) { IDialogSettings settings = SiriusEditPlugin.getPlugin().getDialogSettings(); settings = settings.getSection(AbstractExportRepresentationsAsImagesDialog.DIALOG_SETTINGS_ID); settings.put("autoScaleDiagram", value); } }; getPreferenceStore().addPropertyChangeListener(exportDialogDefaultSettingsUpdater); adapterFactory = createAdapterFactory(); descriptorsToImages = new HashMap<ImageWithDimensionDescriptor, Image>(); ressourceMissingDocumentProvider = new ResourceMissingDocumentProvider(); workspaceImageFigureRefresher = new WorkspaceImageFigureRefresher(); workspaceImageFigureRefresher.init(); imageSelectorDescriptorRegistryListener = new ImageSelectorDescriptorRegistryListener(); imageSelectorDescriptorRegistryListener.init(); formatDataManagerRegistryListener = new FormatDataManagerRegistryListener(); formatDataManagerRegistryListener.init(); layoutDataManagerRegistryListener = new LayoutDataManagerRegistryListener(); layoutDataManagerRegistryListener.init(); registerCoreDecorationProviders(); }</code><technical_language>unnecessary line</technical_language>

Target:
public void start(BundleContext context) throws Exception { super.start(context); PreferencesHint.registerPreferenceStore(DiagramUIPlugin.DIAGRAM_PREFERENCES_HINT, getPreferenceStore()); dynamicPreferences = new DynamicDiagramUIPreferences(getPreferenceStore()); exportDialogDefaultSettingsUpdater = new IPropertyChangeListener() { @Override public void propertyChange(PropertyChangeEvent event) { if (SiriusDiagramUiPreferencesKeys.PREF_SCALE_DIAGRAMS_ON_EXPORT.name().equals(event.getProperty())) { Object value = event.getNewValue(); if (value instanceof Boolean) { updateExportDialogSettings(((Boolean) value).booleanValue()); } else { updateExportDialogSettings(false); } } } }; updateExportDialogSettings(getPreferenceStore().getBoolean(SiriusDiagramUiPreferencesKeys.PREF_SCALE_DIAGRAMS_ON_EXPORT.name())); getPreferenceStore().addPropertyChangeListener(exportDialogDefaultSettingsUpdater); adapterFactory = createAdapterFactory(); descriptorsToImages = new HashMap<ImageWithDimensionDescriptor, Image>(); ressourceMissingDocumentProvider = new ResourceMissingDocumentProvider(); workspaceImageFigureRefresher = new WorkspaceImageFigureRefresher(); workspaceImageFigureRefresher.init(); imageSelectorDescriptorRegistryListener = new ImageSelectorDescriptorRegistryListener(); imageSelectorDescriptorRegistryListener.init(); formatDataManagerRegistryListener = new FormatDataManagerRegistryListener(); formatDataManagerRegistryListener.init(); layoutDataManagerRegistryListener = new LayoutDataManagerRegistryListener(); layoutDataManagerRegistryListener.init(); registerCoreDecorationProviders(); }