package com.example.profbola.bakingtime.ui;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.example.profbola.bakingtime.R;

public class FullDetailActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_full_detail);

        if (null == savedInstanceState) {

            Bundle bundle = getIntent().getExtras();

            FullDetailsFragment fullDetailsFragment = new FullDetailsFragment();
            fullDetailsFragment.setArguments(bundle);

            getSupportFragmentManager().beginTransaction()
                    .add(R.id.full_details, fullDetailsFragment)
                    .commit();
        }
    }
}

@@ -38,16 +38,47 @@
 me.ui;%0A%0A
+import android.content.Intent;%0A
 import a
@@ -459,24 +459,150 @@
 ceState) %7B%0A%0A
+            // FIXME: 7/13/2017 Add NULL Guard%0A            Intent intent = getIntent();%0A            if (intent != null) %7B%0A    
             
@@ -639,24 +639,28 @@
 tExtras();%0A%0A
+    
             
@@ -740,16 +740,20 @@
         
+    
 fullDeta
@@ -783,24 +783,28 @@
 s(bundle);%0A%0A
+    
             
@@ -870,16 +870,20 @@
         
+  
+  
 .add(R.i
@@ -939,16 +939,20 @@
         
+    
 .commit(
@@ -950,24 +950,38 @@
  .commit();%0A
+            %7D%0A
         %7D%0A  

Add NULL guard