Line wrapping make first line shorter

Why are my lines wrapped like this :

ContractArticle contractArticle2 =
new ContractArticleBuilder(getTenantProvider(), PersistenceMode.PERSISTED).withDefaults().withContract(contract).withArticle(article)
.build();

And not like this :

ContractArticle contractArticle2 = new ContractArticleBuilder(getTenantProvider(), PersistenceMode.PERSISTED).withDefaults()
.withContract(contract).withArticle(article).build();

 

What setting should I change ?

1 comment

Probably because you have set "Wrap if long" or "Wrap always" in Settings|Editor|Code Style|Java|Wrapping and Braces|Assignment Statement.

0

Please sign in to leave a comment.