You don&#x27;t indent after a package e.g.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;apache&#x2F;spark&#x2F;blob&#x2F;master&#x2F;core&#x2F;src&#x2F;main&#x2F;java&#x2F;org&#x2F;apache&#x2F;spark&#x2F;JavaSparkListener.java" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;apache&#x2F;spark&#x2F;blob&#x2F;master&#x2F;core&#x2F;src&#x2F;main&#x2F;ja...</a><p>And it&#x27;s fair enough to indent with a main since it is so infrequent. Ideally you only have one main entry point.