Skip to content

Java Code Formatting Breaks Java import Orderings #5

@gkapfham

Description

@gkapfham

I wanted to report that I checked the automated reformatting tool with some other Java code (i.e., code that is not in this repository) and I discovered that it breaks imports like these:

import labsix.checker.PasswordChecker;
import labsix.data.ResultsTable;

import java.util.Random;

My understanding is that you should not mix imports from programmer-defined Java classes with those that are a part of the standard Java library. However, the import tool does do this for the sample projects that I tried.

Can you confirm that this is a problem? Can you think of a workaround? If not, then we may need to either remove the tool from this sample repository. What do you think @corlettim and @schultzh?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions