<commit_before>package arez.doc.examples.cascade_dispose;

import arez.Disposable;
import arez.annotations.Action;
import arez.annotations.ArezComponent;
import arez.annotations.CascadeDispose;
import arez.annotations.PreDispose;

@ArezComponent
public abstract class MyService
{
  @CascadeDispose
  private final MySubService _subService = MySubService.create();

  @PreDispose
  final void preDispose()
  {
    Disposable.dispose( _subService );
  }

  //DOC ELIDE START
  @Action
  void myAction()
  {
  }
  //DOC ELIDE END
}<commit_msg>CascadeDispose must not be on private<commit_after>package arez.doc.examples.cascade_dispose;

import arez.Disposable;
import arez.annotations.Action;
import arez.annotations.ArezComponent;
import arez.annotations.CascadeDispose;
import arez.annotations.PreDispose;

@ArezComponent
public abstract class MyService
{
  @CascadeDispose
  final MySubService _subService = MySubService.create();

  @PreDispose
  final void preDispose()
  {
    Disposable.dispose( _subService );
  }

  //DOC ELIDE START
  @Action
  void myAction()
  {
  }
  //DOC ELIDE END
}
{'fraction_non_alphanumeric': 0.08759124087591241, 'fraction_numerical': 0.0, 'mean_word_length': 4.625641025641026, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7592208', 'n_tokens_mistral': 376, 'n_tokens_neox': 358, 'n_words': 80}