[Demonstration 1]

[Buggy Method]
public void createTabs() {
    mSectionsPagerAdapter = new SectionsPagerAdapter(getActivity().getSupportFragmentManager());
    // Set up the ViewPager with the sections adapter.
    mViewPager = (ViewPager) mView.findViewById(R.id.container);
    mViewPager.setAdapter(mSectionsPagerAdapter);
    TabLayout tabLayout = (TabLayout) mView.findViewById(R.id.tabs);
    tabLayout.setupWithViewPager(mViewPager);
}

[Buggy Hunk]
mSectionsPagerAdapter = new SectionsPagerAdapter(getActivity().getSupportFragmentManager());

[Patch]
mSectionsPagerAdapter = new SectionsPagerAdapter(getChildFragmentManager());

[Demonstration 2]

[Buggy Method]
public void setMaxVolume(float maxVolume) {
    this.maxVolume = maxVolume;
    leftVolume = maxVolume;
    rightVolume = maxVolume;
    oscillatingDown = true;
    initialVolume = maxVolume;
    mp.setVolume(maxVolume, maxVolume);
    Log.d(LOG_TAG, maxVolume + "");
}

[Buggy Hunk]
Log.d(LOG_TAG, maxVolume + "");

[Patch]
Log.d(LOG_TAG, Float.toString(maxVolume));

[Demonstration 3]

[Buggy Method]
@Override
public void onBindViewHolder(final ViewHolder holder, int position) {
    holder.mItem = mValues.get(position);
    holder.mIdView.setText(mValues.get(position).id);
    holder.mContentView.setText(mValues.get(position).content);
    holder.mView.setOnClickListener(new View.OnClickListener() {

        @Override
        public void onClick(View v) {
            if (null != mListener) {
                // Notify the active callbacks interface (the activity, if the
                // fragment is attached to one) that an item has been selected.
                mListener.onListFragmentInteraction(holder.mItem);
            }
        }
    });
}

[Buggy Hunk]
holder.mContentView.setText(mValues.get(position).content);

[Patch]
holder.mContentView.setText(mValues.get(position).userName);