You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Chamil Jeewantha (JIRA)" <ji...@apache.org> on 2014/05/23 16:55:02 UTC

[jira] [Created] (TOMEE-1221) Unused code segment on tomee-catalina TomcatWebAppBuilder.java

Chamil Jeewantha created TOMEE-1221:
---------------------------------------

             Summary: Unused code segment on tomee-catalina TomcatWebAppBuilder.java
                 Key: TOMEE-1221
                 URL: https://issues.apache.org/jira/browse/TOMEE-1221
             Project: TomEE
          Issue Type: Improvement
    Affects Versions: 1.6.0.1
         Environment: N/A
            Reporter: Chamil Jeewantha
            Priority: Trivial


The following code segment is unused hence should be removed.

if (standardContext.getConfigFile() == null) {
            final String s = File.pathSeparator;
            final File contextXmlFile = new File(standardContext.getDocBase() + s + "META-INF" + s + "context.xml");
            if (contextXmlFile.exists()) {
                BackportUtil.getAPI().setConfigFile(standardContext, contextXmlFile);
                standardContext.setOverride(true);
            }
        }



--
This message was sent by Atlassian JIRA
(v6.2#6252)