Removing commented code
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Thu, 6 Oct 2011 11:04:26 +0000 (08:04 -0300)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Thu, 6 Oct 2011 11:04:26 +0000 (08:04 -0300)
src/config/option/hostpingintervaloption.cpp
src/config/option/hostpingprotocoloption.cpp
src/config/option/hostportoption.cpp

index 4530fca..3972f72 100644 (file)
@@ -94,10 +94,6 @@ bool HostPingIntervalOption::parse(
 
     set_hosts_count( hosts_intervals_count );
 
-    // TODO receive the host_down_limit by parameter, use a std::map to find this configuration inside the Options container
-    // TODO BOOST_ASSERT( hosts_names_count >= static_cast<size_t>( host_down_limit ) );
-//    BOOST_ASSERT( hosts_names_count == host_port_count );
-//    BOOST_ASSERT( hosts_names_count == host_ping_protocol_count );
     BOOST_ASSERT( hosts_count == hosts_intervals_count );
 
     return parsed_success;
index a73ccdc..fd5987a 100644 (file)
@@ -95,11 +95,7 @@ bool HostPingProtocolOption::parse(
 
     set_hosts_count( hosts_protocols_count );
 
-    // TODO receive the host_down_limit by parameter, use a std::map to find this configuration inside the Options container
-    // TODO BOOST_ASSERT( hosts_names_count >= static_cast<size_t>( host_down_limit ) );
-//    BOOST_ASSERT( hosts_names_count == host_port_count );
     BOOST_ASSERT( hosts_count == hosts_protocols_count );
-//    BOOST_ASSERT( hosts_names_count == hosts_interval_count );
 
     return parsed_success;
 }
index dd48f0d..29b58bd 100644 (file)
@@ -94,11 +94,7 @@ bool HostPortOption::parse(
 
     set_hosts_count( hosts_ports_count );
 
-    // TODO receive the host_down_limit by parameter, use a std::map to find this configuration inside the Options container
-    // TODO BOOST_ASSERT( hosts_names_count >= static_cast<size_t>( host_down_limit ) );
     BOOST_ASSERT( hosts_count == hosts_ports_count );
-//    BOOST_ASSERT( hosts_names_count == host_ping_protocol_count );
-//    BOOST_ASSERT( hosts_names_count == hosts_interval_count );
 
     return parsed_success;
 }