package org.bndtools.builder;

import org.osgi.framework.BundleContext;

public class BuilderPlugin extends org.eclipse.core.runtime.Plugin {

	private static BuilderPlugin instance = null;

	public static BuilderPlugin getInstance() {
		synchronized (BuilderPlugin.class) {
			return instance;
		}
	}

	public void start(BundleContext context) throws Exception {
		super.start(context);
		synchronized (BuilderPlugin.class) {
			instance = this;
		}
	}

	public void stop(BundleContext context) throws Exception {
		synchronized (BuilderPlugin.class) {
			instance = null;
		}
		super.stop(context);
	}

}

package org.bndtools.builder;

import org.osgi.framework.BundleContext;

public class BuilderPlugin extends org.eclipse.core.runtime.Plugin {

    private static BuilderPlugin instance = null;

    public static BuilderPlugin getInstance() {
        synchronized (BuilderPlugin.class) {
            return instance;
        }
    }

    @Override
    public void start(BundleContext context) throws Exception {
        super.start(context);
        synchronized (BuilderPlugin.class) {
            instance = this;
        }
    }

    @Override
    public void stop(BundleContext context) throws Exception {
        synchronized (BuilderPlugin.class) {
            instance = null;
        }
        super.stop(context);
    }

}

Add 2 missing @Override annotations
Add 2 missing @Override annotations

Signed-off-by: Ferry Huberts <66e11f9f5d965b69497c7e73d5e808f8b13c1218@pelagic.nl>
