Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-50

local variables to be declared final

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • netconf
    • None
    • Operating System: All
      Platform: All

    Description

      as a good practice it is better to declare local variables that are assigned only once as final

      eg.

      class --> public final class NetconfMessageUtil

      method --> public static Collection<String> extractCapabilitiesFromHello(Document doc)

      variable -->
      public static Collection<String> extractCapabilitiesFromHello(Document doc) throws NetconfDocumentedException

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            shashidharc@huawei.com Shashidhar Shekar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: