1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2012-02-10 17:45:16 -08:00
parent 8034e44101
commit 5db78a20c8
4 changed files with 10 additions and 10 deletions

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Anton Gorenkov - initial implementation
* Anton Gorenkov - initial implementation
*******************************************************************************/
package org.eclipse.cdt.codan.core.internal.checkers;

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2009,2010 QNX Software Systems
* Copyright (c) 2009, 2010 QNX Software Systems
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Alena Laskavaia - initial API and implementation
* Alena Laskavaia - initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.codan.core.model;

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Andrew Gvozdev - initial API and implementation
* Andrew Gvozdev - initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.codan.internal.ui;
@ -32,22 +32,22 @@ import org.eclipse.ui.IMarkerResolutionGenerator;
public class CodanProblemMarkerResolutionGenerator implements IMarkerResolutionGenerator {
private static final String EXTENSION_POINT_NAME = "codanMarkerResolution"; //$NON-NLS-1$
private static Map<String, Collection<ConditionalResolution>> resolutions = new HashMap<String, Collection<ConditionalResolution>>();
private static boolean resolutionsLoaded = false;
private static final Map<String, Collection<ConditionalResolution>> resolutions = new HashMap<String, Collection<ConditionalResolution>>();
private static boolean resolutionsLoaded;
static class ConditionalResolution {
IMarkerResolution res;
String messagePattern;
public ConditionalResolution(IMarkerResolution res2, String messagePattern2) {
res = res2;
messagePattern = messagePattern2;
public ConditionalResolution(IMarkerResolution res, String messagePattern) {
this.res = res;
this.messagePattern = messagePattern;
}
}
@Override
public IMarkerResolution[] getResolutions(IMarker marker) {
if (resolutionsLoaded == false) {
if (!resolutionsLoaded) {
readExtensions();
}
String id = marker.getAttribute(ICodanProblemMarker.ID, null);