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

Normalize spaces around comparisons and ternary

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 13
    • None
    • hotspot
    • None

      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

        There are no Sub-Tasks for this issue.

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

              Created:
              Updated:
              Resolved: