[ 
https://issues.apache.org/jira/browse/OFBIZ-10773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737003#comment-16737003
 ] 

Jacques Le Roux commented on OFBIZ-10773:
-----------------------------------------

This is also interesting (I did not know and will certainl forget :D), 
https://docs.oracle.com/javase/tutorial/java/javaOO/constructors.html:
bq. You don't have to provide any constructors for your class, but you must be 
careful when doing this. The compiler automatically provides a no-argument, 
default constructor for any class without constructors. This default 
constructor will call the no-argument constructor of the superclass. In this 
situation, the compiler will complain if the superclass doesn't have a 
no-argument constructor so you must verify that it does. If your class has no 
explicit superclass, then it has an implicit superclass of Object, which does 
have a no-argument constructor. 

> The ‘ModelFieldType’ class members should be private.
> -----------------------------------------------------
>
>                 Key: OFBIZ-10773
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10773
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Mathieu Lirzin
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: Upcoming Branch
>
>         Attachments: 
> OFBIZ-10773_Make-the-ModelFieldType-class-member-private-and-rem.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to