[
https://issues.apache.org/jira/browse/TOMEE-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Louis MONTEIRO updated TOMEE-1221:
---------------------------------------
Assignee: Chamil Jeewantha
> 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.7.0, 1.6.0.1, 1.6.0.2
> Environment: N/A
> Reporter: Chamil Jeewantha
> Assignee: Chamil Jeewantha
> Priority: Trivial
> Fix For: 1.7.0
>
> Attachments: TOMEE-1221-patch.diff
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> 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);
> }
> }
> Relevant Mail Thread Subject: Why File.pathSeparator used to create the
> context.xml path - msg#41759
--
This message was sent by Atlassian JIRA
(v6.2#6252)