mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
compiler warnings - @Override annotations
This commit is contained in:
parent
c77289f6c3
commit
f50f3209a0
4 changed files with 10 additions and 0 deletions
|
@ -38,6 +38,7 @@ public class ErrorParserBlock extends AbstractErrorParserBlock {
|
|||
*
|
||||
* @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
|
||||
*/
|
||||
@Override
|
||||
public void createControl(Composite parent) {
|
||||
|
||||
if (useBuildInfo == true && fBuildInfo == null) {
|
||||
|
@ -55,6 +56,7 @@ public class ErrorParserBlock extends AbstractErrorParserBlock {
|
|||
*
|
||||
* @see org.eclipse.cdt.ui.dialogs.ErrorParserBlock#getErrorParserIDs(org.eclipse.core.resources.IProject)
|
||||
*/
|
||||
@Override
|
||||
protected String[] getErrorParserIDs(IProject project) {
|
||||
if (getContainer().getProject() != null && fBuildInfo == null) {
|
||||
try {
|
||||
|
@ -74,6 +76,7 @@ public class ErrorParserBlock extends AbstractErrorParserBlock {
|
|||
* @see org.eclipse.cdt.ui.dialogs.ErrorParserBlock#saveErrorParsers(org.eclipse.core.resources.IProject,
|
||||
* java.lang.String[])
|
||||
*/
|
||||
@Override
|
||||
public void saveErrorParsers(IProject project, String[] parserIDs) throws CoreException {
|
||||
if (getContainer().getProject() != null) {
|
||||
try {
|
||||
|
@ -90,6 +93,7 @@ public class ErrorParserBlock extends AbstractErrorParserBlock {
|
|||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.ui.dialogs.AbstractErrorParserBlock#saveErrorParsers(java.lang.String[])
|
||||
*/
|
||||
@Override
|
||||
protected void saveErrorParsers(String[] parserIDs) throws CoreException {
|
||||
fBuildInfo = MakeCorePlugin.createBuildInfo(fPrefs, MakeBuilder.BUILDER_ID, false);
|
||||
fBuildInfo.setErrorParsers(parserIDs);
|
||||
|
@ -98,11 +102,13 @@ public class ErrorParserBlock extends AbstractErrorParserBlock {
|
|||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.ui.dialogs.AbstractErrorParserBlock#getErrorParserIDs(boolean)
|
||||
*/
|
||||
@Override
|
||||
protected String[] getErrorParserIDs(boolean defaults) {
|
||||
fBuildInfo = MakeCorePlugin.createBuildInfo(fPrefs, MakeBuilder.BUILDER_ID, defaults);
|
||||
return fBuildInfo.getErrorParsers();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setContainer(ICOptionContainer container) {
|
||||
super.setContainer(container);
|
||||
if (getContainer().getProject() != null) {
|
||||
|
|
|
@ -29,6 +29,7 @@ public class MakeStartup extends Job {
|
|||
setSystem(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected IStatus run(IProgressMonitor monitor) {
|
||||
final IProject[] oldProject = UpdateMakeProjectAction.getOldProjects();
|
||||
if (oldProject.length > 0) {
|
||||
|
|
|
@ -269,6 +269,7 @@ public class MakeUIPlugin extends AbstractUIPlugin {
|
|||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void start(BundleContext context) throws Exception {
|
||||
super.start(context);
|
||||
new MakeStartup().schedule();
|
||||
|
@ -277,6 +278,7 @@ public class MakeUIPlugin extends AbstractUIPlugin {
|
|||
/* (non-Javadoc)
|
||||
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
|
||||
*/
|
||||
@Override
|
||||
public void stop(BundleContext context) throws Exception {
|
||||
if (fWorkingCopyManager != null) {
|
||||
fWorkingCopyManager.shutdown();
|
||||
|
|
|
@ -22,6 +22,7 @@ public class MakeUIPreferenceInitializer extends AbstractPreferenceInitializer {
|
|||
/* (non-Javadoc)
|
||||
* @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
|
||||
*/
|
||||
@Override
|
||||
public void initializeDefaultPreferences() {
|
||||
IPreferenceStore store = MakeUIPlugin.getDefault().getPreferenceStore();
|
||||
MakePreferencePage.initDefaults(store);
|
||||
|
|
Loading…
Add table
Reference in a new issue