Ejemplo n.º 1
0
		private static void DoCompare (UrlToCheckData EntryToCheck, String NewContent)
			{
			if (!EntryToCheck.IfOldFileExists ())
				{
				EntryToCheck.WriteOld (NewContent);
				EntryToCheck.m_Changed = false;
				return;
				}
			EntryToCheck.WriteNew (NewContent);
			String OldContent = EntryToCheck.OldContent ();
			EntryToCheck.m_DifferenceDescription = SpecialStringCompare (NewContent, OldContent);
			if (EntryToCheck.m_DifferenceDescription.Count > 0)
				EntryToCheck.m_Changed = true;
			else
				EntryToCheck.m_Changed = false;
			}