Changeset 14706

Show
Ignore:
Timestamp:
07/23/10 14:38:31 (7 weeks ago)
Author:
rcmatthews
Message:

Refactored out variable

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • framework/trunk/plugins/scimpi/dispatcher/src/main/java/org/nakedobjects/webapp/processor/HtmlFileParser.java

    r14700 r14706  
    130130             
    131131            if (template != null) { 
    132                 filePath = loadPath; 
    133                 String filePathRoot = filePath.startsWith("/") ? "" : "/"; 
    134                 parseHtmlFile(filePathRoot + filePath, template, context, allTags, tags); 
     132                String filePathRoot = loadPath.startsWith("/") ? "" : "/"; 
     133                parseHtmlFile(filePathRoot + loadPath, template, context, allTags, tags); 
    135134            } 
    136135 
    137136        } catch (ParserException e) { 
    138             exception(filePath, node, e); 
     137            exception(loadPath, node, e); 
    139138            //throw new ScimpiException(e); 
    140139        } catch (RuntimeException e) { 
    141140            // TODO: extend to deal with other exceptions 
    142             exception(filePath, node, e); 
     141            exception(loadPath, node, e); 
    143142        } catch (IOException e) { 
    144143            throw new ScimpiException(e);