db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/generator/src/java/org/apache/torque/engine/database/transform XmlToAppData.java XmlToData.java
Date Mon, 28 Jul 2003 20:19:02 GMT
mpoeschl    2003/07/28 13:19:02

  Modified:    src/generator/src/java/org/apache/torque/engine/database/transform
                        XmlToAppData.java XmlToData.java
  Log:
  style fixes
  
  Revision  Changes    Path
  1.6       +6 -3      db-torque/src/generator/src/java/org/apache/torque/engine/database/transform/XmlToAppData.java
  
  Index: XmlToAppData.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/engine/database/transform/XmlToAppData.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XmlToAppData.java	28 Jul 2003 16:33:34 -0000	1.5
  +++ XmlToAppData.java	28 Jul 2003 20:19:02 -0000	1.6
  @@ -217,9 +217,12 @@
       public InputSource resolveEntity(String publicId, String systemId)
               throws SAXException
       {
  -		try {
  +		try 
  +		{
   			return new DTDResolver().resolveEntity(publicId, systemId);
  -		} catch (Exception e) {
  +		} 
  +		catch (Exception e) 
  +		{
   			throw new SAXException(e);
   		}
       }
  
  
  
  1.9       +6 -3      db-torque/src/generator/src/java/org/apache/torque/engine/database/transform/XmlToData.java
  
  Index: XmlToData.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/engine/database/transform/XmlToData.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XmlToData.java	28 Jul 2003 16:33:34 -0000	1.8
  +++ XmlToData.java	28 Jul 2003 20:19:02 -0000	1.9
  @@ -197,7 +197,8 @@
       public InputSource resolveEntity(String publicId, String systemId)
               throws SAXException
       {
  -		try {
  +		try 
  +		{
   			if (dataDTD != null && dtdFileName.equals(systemId))
   			{
   			    log.info("Resolver: used " + dtdFile.getPath());
  @@ -208,7 +209,9 @@
   			    log.info("Resolver: used " + systemId);
   			    return getInputSource(systemId);
   			}
  -		} catch (IOException e) {
  +		} 
  +		catch (IOException e) 
  +		{
   			throw new SAXException(e);
   		}
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message