package com.mauvm.bleTest.plugin;

import android.content.Context;
import android.content.pm.PackageManager;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

public class BleTestPlugin extends CordovaPlugin {

	@Override
	public boolean execute( String action, JSONArray data, CallbackContext callbackContext ) throws JSONException {

		if( action.equals( "test" ) ) {

			if( getPackageManager().hasSystemFeature( PackageManager.FEATURE_BLUETOOTH_LE ) ) {
				callbackContext.success();
			} else {
				callbackContext.error( "BLE not supported." );
			}

			return true;
		}

		return false;

	}

}

@@ -270,19 +270,8 @@
  %7B%0A%0A
-%09@Override%0A
 %09pub

fix - remove @Override from java code