BIND 10 trac2213, updated. 08baa5371d0939356ba56f24f2d537834f7e9bac [2213] style cleanup: combine short lines
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Oct 30 17:01:16 UTC 2012
The branch, trac2213 has been updated
via 08baa5371d0939356ba56f24f2d537834f7e9bac (commit)
from d3bdb3c1c1dca514322fefdaac18a253364dfd2f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 08baa5371d0939356ba56f24f2d537834f7e9bac
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue Oct 30 10:01:02 2012 -0700
[2213] style cleanup: combine short lines
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/datasrc_clients_mgr.h | 6 ++----
src/bin/auth/tests/datasrc_clients_mgr_unittest.cc | 6 ++----
2 files changed, 4 insertions(+), 8 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/datasrc_clients_mgr.h b/src/bin/auth/datasrc_clients_mgr.h
index e493287..218382f 100644
--- a/src/bin/auth/datasrc_clients_mgr.h
+++ b/src/bin/auth/datasrc_clients_mgr.h
@@ -277,8 +277,7 @@ public:
try {
dns::Name(args->get("origin")->stringValue());
} catch (const isc::Exception& exc) {
- isc_throw(CommandError,
- "bad origin: " << exc.what());
+ isc_throw(CommandError, "bad origin: " << exc.what());
}
}
@@ -294,8 +293,7 @@ public:
try {
dns::RRClass(args->get("class")->stringValue());
} catch (const isc::Exception& exc) {
- isc_throw(CommandError,
- "bad class: " << exc.what());
+ isc_throw(CommandError, "bad class: " << exc.what());
}
}
}
diff --git a/src/bin/auth/tests/datasrc_clients_mgr_unittest.cc b/src/bin/auth/tests/datasrc_clients_mgr_unittest.cc
index 2ac9010..c37ef11 100644
--- a/src/bin/auth/tests/datasrc_clients_mgr_unittest.cc
+++ b/src/bin/auth/tests/datasrc_clients_mgr_unittest.cc
@@ -240,10 +240,8 @@ TEST(DataSrcClientsMgrTest, reload) {
EXPECT_EQ(3, FakeDataSrcClientsBuilder::command_queue->size());
// same for empty data and data that is not a map
- EXPECT_THROW(mgr.loadZone(isc::data::ConstElementPtr()),
- CommandError);
- EXPECT_THROW(mgr.loadZone(isc::data::Element::createList()),
- CommandError);
+ EXPECT_THROW(mgr.loadZone(isc::data::ConstElementPtr()), CommandError);
+ EXPECT_THROW(mgr.loadZone(isc::data::Element::createList()), CommandError);
EXPECT_EQ(3, FakeDataSrcClientsBuilder::command_queue->size());
}
More information about the bind10-changes
mailing list