Exemple #1
0
    public static Builder fromCategory(final Category in) {
      Builder builder =
          Category.builder(in.context)
              .name(in.getName())
              .erasable(in.isErasable())
              .defaultCategory(in.isDefaultCategory());

      return builder;
    }