Clean code.
This commit is contained in:
parent
71bbe4cd21
commit
6f764e7a29
2 changed files with 12 additions and 12 deletions
|
@ -39,7 +39,7 @@ public class DomPresenterCore
|
|||
StringBuffer result;
|
||||
|
||||
StringWriter htmlCode = new StringWriter();
|
||||
DomPresenterCore.dynamize(htmlCode, doc, data);
|
||||
dynamize(htmlCode, doc, data);
|
||||
result = htmlCode.getBuffer();
|
||||
|
||||
//
|
||||
|
@ -274,7 +274,7 @@ public class DomPresenterCore
|
|||
// Log.write(Log.TRACE,"systemId = " + systemId);
|
||||
}
|
||||
|
||||
DomPresenterCore.process(result, ((Document) node).getDocumentElement(), datas, suffix);
|
||||
process(result, ((Document) node).getDocumentElement(), datas, suffix);
|
||||
|
||||
break;
|
||||
}
|
||||
|
@ -288,11 +288,11 @@ public class DomPresenterCore
|
|||
|
||||
if (idAttr != null)
|
||||
{
|
||||
DomPresenterCore.processElementWithId(result, node, attrs, idAttr, datas, suffix);
|
||||
processElementWithId(result, node, attrs, idAttr, datas, suffix);
|
||||
}
|
||||
else
|
||||
{
|
||||
DomPresenterCore.processElementBasically(result, node, datas, suffix);
|
||||
processElementBasically(result, node, datas, suffix);
|
||||
}
|
||||
|
||||
break;
|
||||
|
@ -681,7 +681,7 @@ public class DomPresenterCore
|
|||
|
||||
if (dataCore == null)
|
||||
{
|
||||
DomPresenterCore.processElementBasically(result, node, datas, suffix);
|
||||
processElementBasically(result, node, datas, suffix);
|
||||
}
|
||||
else if (dataCore instanceof SimpleTagData)
|
||||
{
|
||||
|
@ -775,7 +775,7 @@ public class DomPresenterCore
|
|||
// Manage a Hashmap.
|
||||
TagDataListById data = (TagDataListById) tags.elementAt(nLine);
|
||||
|
||||
DomPresenterCore.processElementWithId(result, node, attrs, idAttr, data, Integer.toString(nLine));
|
||||
processElementWithId(result, node, attrs, idAttr, data, Integer.toString(nLine));
|
||||
result.append('\n');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,7 +88,7 @@ public class URLPresenter implements Presenter
|
|||
}
|
||||
else
|
||||
{
|
||||
long lastModified = sourceURL.openConnection().getLastModified();
|
||||
long lastModified = this.sourceURL.openConnection().getLastModified();
|
||||
if ((this.doc == null) || (this.sourceFileTime != lastModified))
|
||||
{
|
||||
this.sourceFileTime = lastModified;
|
||||
|
|
Loading…
Reference in a new issue