Просмотр исходного кода

removed Console.WriteLines

svn path=/trunk/mcs/; revision=10570
Gonzalo Paniagua Javier 23 лет назад
Родитель
Сommit
b28a8ab0d9
1 измененных файлов с 1 добавлено и 9 удалено
  1. 1 9
      mcs/class/System.Web/System.Web.UI/Control.cs

+ 1 - 9
mcs/class/System.Web/System.Web.UI/Control.cs

@@ -436,11 +436,7 @@ namespace System.Web.UI
 
                 public virtual Control FindControl (string id)
                 {
-			Control x = FindControl (id, 0);
-			if (x == null) {
-				Console.WriteLine ("{0} NO encontrado", id);
-			}
-			return x;
+			return FindControl (id, 0);
                 }
 
 		Control LookForControlByName (string id)
@@ -459,7 +455,6 @@ namespace System.Web.UI
 				}
 			}
 
-			Console.WriteLine ("Devuelvo null para {0}", id);
 			return null;
 		}
 		
@@ -482,14 +477,11 @@ namespace System.Web.UI
 			if (colon == -1)
 				return LookForControlByName (id.Substring (pathOffset));
 			
-			Console.WriteLine ("Buscan: {0} {1} {2}", id, pathOffset, colon);
 			string idfound = id.Substring (pathOffset, colon - pathOffset);
 			namingContainer = LookForControlByName (idfound);
 			if (namingContainer == null || !namingContainer._isNamingContainer)
 				return null;
 
-			Console.WriteLine ("Encontrado {0}", idfound);
-			Console.WriteLine ("Ahora {0}", id.Substring (colon + 1));
 			return namingContainer.FindControl (id, colon + 1);
                 }