Small code beautification.

This commit is contained in:
trifonnt 2009-09-28 08:11:20 +00:00
parent eba82193e0
commit 03e2e67023
1 changed files with 4 additions and 5 deletions

View File

@ -83,7 +83,7 @@ public class TranslationHandler extends DefaultHandler
throws org.xml.sax.SAXException throws org.xml.sax.SAXException
{ {
// log.fine( "TranslationHandler.startElement", qName); // + " - " + uri + " - " + localName); // log.fine( "TranslationHandler.startElement", qName); // + " - " + uri + " - " + localName);
if (qName.equals(Translation.XML_TAG)||qName.equals(Translation.XML_TAG2)) if (qName.equals(Translation.XML_TAG) || qName.equals(Translation.XML_TAG2))
{ {
m_AD_Language = attributes.getValue(Translation.XML_ATTRIBUTE_LANGUAGE); m_AD_Language = attributes.getValue(Translation.XML_ATTRIBUTE_LANGUAGE);
m_isBaseLanguage = Language.isBaseLanguage(m_AD_Language); m_isBaseLanguage = Language.isBaseLanguage(m_AD_Language);
@ -137,11 +137,10 @@ public class TranslationHandler extends DefaultHandler
throws SAXException throws SAXException
{ {
// Log.trace(Log.l6_Database+1, "TranslationHandler.endElement", qName); // Log.trace(Log.l6_Database+1, "TranslationHandler.endElement", qName);
if (qName.equals(Translation.XML_TAG)||qName.equals(Translation.XML_TAG2)) if (qName.equals(Translation.XML_TAG) || qName.equals(Translation.XML_TAG2))
{
}
else if (qName.equals(Translation.XML_ROW_TAG))
{ {
} else if (qName.equals(Translation.XML_ROW_TAG)) {
// Set section // Set section
if (m_sql.length() > 0) if (m_sql.length() > 0)
m_sql.append(","); m_sql.append(",");