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

Declare newInsets as static in ThemeReader.cpp

XMLWordPrintable

    • b05

      The newInsets function is a helper function used in ThemeReader.cpp only, it should be declared as static. It ensures the function isn't visible outside its translation unit, it may enable additional optimizations, for example such a function can be inlined.

            rmahajan Rajat Mahajan
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: