I would really not like to analyze the code with anything other than private fields, with the possible exception of a protected field in the interests of the subclass. This will not help you look good.
Of course, I think that from the point of view of a Java expert, you can justify a deviation from the style, but since this is your first professional job using Java, you are not really in that position.
So, to answer your question directly: "Will it look like a bad style?" Yes it will.
Was your decision reasonable? Only if you are really sure that this code will not go anywhere. In a typical store, there may be chances to reuse the code, expose factors to utility classes, etc. This code will not be a candidate without significant changes. Some of these changes can be automated using the IDE and are mostly low risk, but if your library is at a point where it is stable, tested and used in production, encapsulation, which will later be considered a greater risk than necessary .
Yishai
source share