A blank line will be created under Copyright.

已回答

I'm using IntelliJ IDEA Ultimate 2018.1.1.

There is one blank line under copyright comment.
There was not before.

I am in trouble because the code style changes.

/*
* Copyright (C) .....
*/

package sample;

IntelliJ Settings 'Code Style > Java > Blank Lines' is 'Before package statement = 0'.
When the Before package statement is set to 1, there are two blank lines.

Why is there a blank line?

It will not improve even with Reformat code.

0

Check your copyright profile, it may have an extra blank line.

0

Thank you for your reply.

I confirmed, but the copyright notation was one sentence and there was no line break.
Also, there is only one profile.

0

Maybe you could share the sample project to reproduce with your code style and the copyright profile saved with the project?

You can upload it per https://intellij-support.jetbrains.com/hc/articles/206869619.

0

Yes, I uploaded it using JetBrains Uploader.

The file name is "SampleCopyright_avis_20180423.zip".
I hope the file will not be open to the public.

I created a new Sample class, but a blank line is put under Copyright.

0

You have an option enabled to add a blank line:

1

The problem was solved.
I was greatly assisted by you.
Thank you!!!

0

请先登录再写评论。