Mercurial > hg > tomcat-userconfig
changeset 23:d5f928a0c600
Coding style.
author | Mikhail Kryshen <mikhail@kryshen.net> |
---|---|
date | Tue, 03 Nov 2009 05:06:48 +0300 |
parents | e67c9a4b6763 |
children | 497bd05771eb |
files | src/kryshen/catalina/userconfig/UserConfig.java |
diffstat | 1 files changed, 3 insertions(+), 10 deletions(-) [+] |
line diff
1.1 --- a/src/kryshen/catalina/userconfig/UserConfig.java Tue Nov 03 05:04:35 2009 +0300 1.2 +++ b/src/kryshen/catalina/userconfig/UserConfig.java Tue Nov 03 05:06:48 2009 +0300 1.3 @@ -167,11 +167,8 @@ 1.4 break; 1.5 } 1.6 1.7 - if (files[i].equalsIgnoreCase("META-INF")) { 1.8 - continue; 1.9 - } 1.10 - 1.11 - if (files[i].equalsIgnoreCase("WEB-INF")) { 1.12 + if (files[i].equalsIgnoreCase("META-INF") || 1.13 + files[i].equalsIgnoreCase("WEB-INF")) { 1.14 continue; 1.15 } 1.16 1.17 @@ -183,11 +180,7 @@ 1.18 1.19 String contextPath = getContextPath(user, files[i]); 1.20 1.21 - if (isDeployed(contextPath)) { 1.22 - continue; 1.23 - } 1.24 - 1.25 - if (isServiced(contextPath)) { 1.26 + if (isDeployed(contextPath) || isServiced(contextPath)) { 1.27 continue; 1.28 } 1.29