1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2009-11-09 04:12:28 +00:00
parent 0fa6bf2bdc
commit 9ec2df2c3c
3 changed files with 3 additions and 8 deletions

View file

@ -10,7 +10,6 @@
*******************************************************************************/
package org.eclipse.cdt.core.model;
import java.util.Map;
import org.eclipse.cdt.core.CCorePlugin;
@ -168,7 +167,7 @@ public interface ICProject extends IParent, IOpenable, ICElement {
* (key type: <code>String</code>; value type: <code>String</code>)
* @see CCorePlugin#getDefaultOptions
*/
Map<String,String> getOptions(boolean inheritCCoreOptions);
Map<String, String> getOptions(boolean inheritCCoreOptions);
/**
* Helper method for setting one option value only. Equivalent to <code>Map options = this.getOptions(false); map.put(optionName, optionValue); this.setOptions(map)</code>

View file

@ -353,9 +353,7 @@ public class CCorePlugin extends Plugin {
* (key type: <code>String</code>; value type: <code>String</code>)
* @see #setOptions
*/
public static HashMap<String, String> getDefaultOptions()
{
public static HashMap<String, String> getDefaultOptions() {
HashMap<String, String> defaultOptions = new HashMap<String, String>(10);
// see #initializeDefaultPluginPreferences() for changing default settings
@ -378,7 +376,6 @@ public class CCorePlugin extends Plugin {
return defaultOptions;
}
/**
* Helper method for returning one option value only. Equivalent to <code>(String)CCorePlugin.getOptions().get(optionName)</code>
* Note that it may answer <code>null</code> if this option does not exist.
@ -414,7 +411,6 @@ public class CCorePlugin extends Plugin {
* @see CCorePlugin#getDefaultOptions
*/
public static HashMap<String, String> getOptions() {
HashMap<String, String> options = new HashMap<String, String>(10);
// see #initializeDefaultPluginPreferences() for changing default settings

View file

@ -238,7 +238,7 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IC
public void gotoMarker(IMarker marker) {
if (fIsUpdatingMarkerViews)
return;
if (getSourceViewer() == null)
return;