Skip to content

Commit

Permalink
Removed some old commented out code in Instrument.
Browse files Browse the repository at this point in the history
Found this while updating the unit test for this ticket.

This code was commented out over two years ago. If it needed to be kept,
it would have been missed by now. Given the exception that immediately
follows gives the exact same information, we can afford to clean this
up.

Refs #9959
  • Loading branch information
Harry Jeffery committed Jul 28, 2014
1 parent 83c622c commit a96ac72
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Code/Mantid/Framework/Geometry/src/Instrument.cpp
Expand Up @@ -511,8 +511,6 @@ namespace Mantid
detid2det_map::const_iterator it = m_detectorCache.find(detector_id);
if ( it == m_detectorCache.end() )
{
//FIXME: When ticket #4544 is fixed, re-enable this debug print:
//g_log.debug() << "Detector with ID " << detector_id << " not found." << std::endl;
std::stringstream readInt;
readInt << detector_id;
throw Kernel::Exception::NotFoundError("Instrument: Detector with ID " + readInt.str() + " not found.","");
Expand Down

0 comments on commit a96ac72

Please sign in to comment.