Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8212960

Normalize spaces around comparisons and ternary

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
      None

      Description

      Add spaces where it is needed such as:


      + if (rc!= JNI_OK) {

      + if ((strcmp(name, CLASS_NAME) ==0) && (redefineNumber == 0)) {

      (Double space):
      + if (nsk_jvmti_redefineClass(jvmti_env, klass, fileName) == NSK_TRUE)

      Also adding the ?: case where spaces were missing

        Attachments

          Activity

            People

            Assignee:
            jcbeyler Jean Christophe Beyler
            Reporter:
            jcbeyler Jean Christophe Beyler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: