Reuse Sometimes Erases Access Modifiers

Issue #242 new
Calem Bendell created an issue

In the minueto2.0 model in origin/minueto, the main method in App is "+ void main(String[] args)." When the minueto2.0 concern is reused, the main method becomes instead "~ void main(String[] args)," meaning the main is no longer recognised by the Java compiler.

Comments (1)

  1. Matthias Schoettle

    It's not sometimes, it is for reuses that public gets changed to package private. But there might be certain cases where this does not work.

    However, your main method should be in the application model, so not in the reused concern, no?

  2. Log in to comment