Uploaded image for project: ' WildFly Client Configuration'
  1. WildFly Client Configuration
  2. WFCC-312

Refactor ConfigurationXMLStreamReader#getExpressionAttributeValue to move repeated code to a private method

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      The following lines of code is repeated 4 times inside this function and can be replaced with a call to a private method: 

      if (envVar.contains("ENC:")) { 
          return resolveEncryptedExpression(envVar, flags); 
      } else { 
          return Expression.compile(envVar, flags); 
      }
       

              rh-ee-prpaul Prarthona Paul (Inactive)
              rh-ee-prpaul Prarthona Paul (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: