package com.ilyamur.osgi.helloworld.impl;

import com.ilyamur.osgi.helloworld.service.OsgiHelloworldService;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

import java.util.Hashtable;

public class Activator implements BundleActivator {

    @Override
    public void start(BundleContext bundleContext) throws Exception {
        Hashtable<String, String> props = new Hashtable<>();
        props.put("Language", "English");
        bundleContext.registerService(OsgiHelloworldService.class.getName(), new OsgiHelloworldServiceImpl(), props);
        System.out.println("osgi-helloworld start");
    }

    @Override
    public void stop(BundleContext bundleContext) throws Exception {
        System.out.println("osgi-helloworld stop");
    }
}

@@ -269,30 +269,16 @@
 ator %7B%0A%0A
-    @Override%0A
     publ
@@ -395,16 +395,30 @@
 shtable%3C
+String, String
 %3E();%0A   
@@ -638,22 +638,8 @@
  %7D%0A%0A
-    @Override%0A
     

Fix sources to correspond with language level