Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5546

Code style: Break long assignment expressions after '='

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.34.0
    • None
    • None

    Description

      Change the code style to require that long assignment expressions are broken after '='. After this change,

          final PhysType physType = PhysTypeImpl.of(
              implementor.getTypeFactory(),
              getRowType(),
              pref.prefer(JavaRowFormat.CUSTOM));
      

      would be changed to

          final PhysType physType =
              PhysTypeImpl.of(implementor.getTypeFactory(),
                  getRowType(),
                  pref.prefer(JavaRowFormat.CUSTOM));
      

      Attachments

        Activity

          People

            julianhyde Julian Hyde
            julianhyde Julian Hyde
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: