1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 10:16:03 +02:00

Cosmetics

Change-Id: I986bf6cc52c09563a1443dadfabdf50db8ca3b40
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
Marc Khouzam 2014-10-06 09:06:26 -04:00
parent 223df2e072
commit e7cb240780

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2008, 2011 Wind River Systems and others. * Copyright (c) 2008, 2014 Wind River Systems and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
@ -68,7 +68,7 @@ public class NumberFormatsContribution extends CompoundContributionItem implemen
protected IServiceLocator fServiceLocator; protected IServiceLocator fServiceLocator;
private static IContributionItem[] NO_BREAKPOINT_TYPES_CONTRIBUTION_ITEMS = new IContributionItem[] { private static IContributionItem[] NO_FORMAT_CONTRIBUTION_ITEMS = new IContributionItem[] {
new ContributionItem() { new ContributionItem() {
@Override @Override
public void fill(Menu menu, int index) { public void fill(Menu menu, int index) {
@ -90,7 +90,7 @@ public class NumberFormatsContribution extends CompoundContributionItem implemen
// If no part or selection, disable all. // If no part or selection, disable all.
if (provider == null) { if (provider == null) {
return NO_BREAKPOINT_TYPES_CONTRIBUTION_ITEMS; return NO_FORMAT_CONTRIBUTION_ITEMS;
} }
IPresentationContext context = provider.getPresentationContext(); IPresentationContext context = provider.getPresentationContext();
@ -109,7 +109,7 @@ public class NumberFormatsContribution extends CompoundContributionItem implemen
} }
if ( actions.isEmpty() ) { if ( actions.isEmpty() ) {
return NO_BREAKPOINT_TYPES_CONTRIBUTION_ITEMS; return NO_FORMAT_CONTRIBUTION_ITEMS;
} }
IContributionItem[] items = new IContributionItem[actions.size()]; IContributionItem[] items = new IContributionItem[actions.size()];