You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Daniel Kasmeroglu (JIRA)" <ji...@apache.org> on 2014/10/20 00:27:33 UTC

[jira] [Created] (TOMEE-1419) [CQ] Removal and cleanup of redundant and unnecessary expressions

Daniel Kasmeroglu created TOMEE-1419:
----------------------------------------

             Summary: [CQ] Removal and cleanup of redundant and unnecessary expressions
                 Key: TOMEE-1419
                 URL: https://issues.apache.org/jira/browse/TOMEE-1419
             Project: TomEE
          Issue Type: Improvement
    Affects Versions: 2.0.0
            Reporter: Daniel Kasmeroglu
            Priority: Minor
             Fix For: 2.0.0


The codebase currently contains several needless expressions like f.e.

{code:java}
File f = ...
if(f.exists() && f.isFile()) { -> if(f.isFile()) {
   ...
}
{code}

{code:java}
URLS.uri(module.getModuleId()) -> module.getModuleUri()
{code}

There are many more examples which I won't list here. These should be cleaned up.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)