[Adapdev-commits] Adapdev/src/Adapdev.NVelocity/App FieldMethodizer.cs,1.5,1.6 Velocity.cs,1.5,1.6 V
Status: Beta
Brought to you by:
intesar66
From: Sean M. <int...@us...> - 2005-11-26 08:09:34
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.NVelocity/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18792/src/Adapdev.NVelocity/App Modified Files: FieldMethodizer.cs Velocity.cs VelocityEngine.cs Log Message: Cleaned up several warnings Restored some lingering files Index: Velocity.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.NVelocity/App/Velocity.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Velocity.cs 16 Nov 2005 07:01:48 -0000 1.5 --- Velocity.cs 26 Nov 2005 08:09:22 -0000 1.6 *************** *** 174,178 **** reader = new StreamReader(new StreamReader(instream, Encoding.GetEncoding(encoding)).BaseStream); } ! catch (IOException uce) { String msg = "Unsupported input encoding : " + encoding + " for template " + logTag; --- 174,178 ---- reader = new StreamReader(new StreamReader(instream, Encoding.GetEncoding(encoding)).BaseStream); } ! catch (IOException) { String msg = "Unsupported input encoding : " + encoding + " for template " + logTag; Index: VelocityEngine.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.NVelocity/App/VelocityEngine.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** VelocityEngine.cs 16 Nov 2005 07:01:48 -0000 1.5 --- VelocityEngine.cs 26 Nov 2005 08:09:22 -0000 1.6 *************** *** 183,187 **** br = new StreamReader(new StreamReader(instream, Encoding.GetEncoding(encoding)).BaseStream); } ! catch (IOException uce) { String msg = "Unsupported input encoding : " + encoding + " for template " + logTag; --- 183,187 ---- br = new StreamReader(new StreamReader(instream, Encoding.GetEncoding(encoding)).BaseStream); } ! catch (IOException) { String msg = "Unsupported input encoding : " + encoding + " for template " + logTag; Index: FieldMethodizer.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.NVelocity/App/FieldMethodizer.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** FieldMethodizer.cs 16 Nov 2005 07:01:48 -0000 1.5 --- FieldMethodizer.cs 26 Nov 2005 08:09:22 -0000 1.6 *************** *** 121,125 **** return f.GetValue((Type) classHash[fieldName]); } ! catch (Exception e) { } --- 121,125 ---- return f.GetValue((Type) classHash[fieldName]); } ! catch (Exception) { } |