Bad practice to have two classes of the same name in different packages?

前端 未结 5 1545
Happy的楠姐
Happy的楠姐 2021-01-17 13:41

We have split our application so that package A handles data from one external source and package B from another. In both cases we need to create a domain object and have a

5条回答
  •  再見小時候
    2021-01-17 14:25

    It's fine. This is precisely why, by design, different packages have different namespaces.

提交回复
热议问题