Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-68340

Class can't compile after source formatter adds final modifier to private fields

    Details

    • OS:
      Mac OS X 10.9
    • JDK:
      Oracle Sun JDK 8
    • Application Servers:
      Apache Tomcat 8.0.x
    • Browsers:
      Chrome (latest)
    • Databases:
      MySQL 5.7
    • Device Type:
      Desktop

      Description

      If class is initalized by chaining constructors, marking private fields as final breaks compilation.

      I attached class which wont compile after source formatter fixes it.

        Attachments

          Activity

            People

            • Assignee:
              hugo.huijser Hugo Huijser
              Reporter:
              igor.beslic Igor Beslic
              Participants of an Issue:
              Recent user:
              Hugo Huijser
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 51 weeks, 3 days ago

                Packages

                Version Package
                7.0.X EE
                Master