package com.ustwo.boilerplate.feature.helloworld;

import android.os.Bundle;
import android.support.annotation.NonNull;
import com.ustwo.boilerplate.R;
import com.ustwo.boilerplate.base.BaseActivity;
import com.ustwo.boilerplate.base.BasePresenter;
import javax.inject.Inject;

public class HelloWorldActivity extends BaseActivity<HelloWorldPresenter.View, HelloWorldComponent>
    implements HelloWorldPresenter.View {

  @Inject HelloWorldPresenter presenter;

  @Override
  protected void onCreate(final Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
  }

  @Override
  protected int getLayoutId() {
    return R.layout.activity_hello_world;
  }

  @NonNull
  @Override
  protected BasePresenter<HelloWorldPresenter.View> getPresenter() {
    return presenter;
  }

  @NonNull
  @Override
  protected HelloWorldPresenter.View getPresenterView() {
    return this;
  }

  @Override
  protected HelloWorldComponent createComponentAndInject() {
    final HelloWorldComponent component = DaggerHelloWorldComponent.builder()
        .applicationComponent(getApplicationComponent())
        .helloWorldModule(new HelloWorldModule()).build();
    component.inject(this);
    return component;
  }
}

@@ -48,34 +48,8 @@
 d;%0A%0A
-import android.os.Bundle;%0A
 impo
@@ -434,126 +434,8 @@
 r;%0A%0A
-  @Override%0A  protected void onCreate(final Bundle savedInstanceState) %7B%0A    super.onCreate(savedInstanceState);%0A  %7D%0A%0A
   @O

Remove useless method