Commit 795024d0 authored by Steven Murray's avatar Steven Murray
Browse files

Renamed Utils.hpp and Utils.cpp to utils.hpp and utils.cpp

The contents of the Utils.cpp file is a namespace and not a class
therefore the file should start with a lower case letter.
parent adb916b6
......@@ -73,7 +73,7 @@ set (COMMON_LIB_SRC_FILES
threading/Mutex.cpp
threading/System.cpp
threading/Threading.cpp
utils/Utils.cpp
utils/utils.cpp
utils/strerror_r_wrapper.cpp
ArchiveRequest.cpp
CreationLog.cpp
......@@ -111,4 +111,4 @@ set (COMMON_UNIT_TESTS_LIB_SRC_FILES
add_library (ctacommonunittests SHARED
${COMMON_UNIT_TESTS_LIB_SRC_FILES})
install(TARGETS ctacommonunittests DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
\ No newline at end of file
install(TARGETS ctacommonunittests DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
......@@ -20,7 +20,7 @@
#include "common/exception/Exception.hpp"
#include "common/log/Logger.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include <string>
#include <map>
......
......@@ -17,7 +17,7 @@
*/
#include "common/exception/Errnum.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include <errno.h>
#include <string.h>
......
......@@ -22,7 +22,7 @@
*****************************************************************************/
#include "common/log/Logger.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include "common/exception/Exception.hpp"
#include <sys/time.h>
#include <sys/syslog.h>
......@@ -307,4 +307,4 @@ std::map<std::string, int>
}
return m;
}
\ No newline at end of file
}
......@@ -24,7 +24,7 @@
#include "common/exception/Exception.hpp"
#include "common/log/SyslogLogger.hpp"
#include "common/threading/MutexLocker.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include <errno.h>
#include <sstream>
......
......@@ -24,7 +24,7 @@
#include "common/exception/Exception.hpp"
#include "common/processCap/ProcessCap.hpp"
#include "common/processCap/SmartCap.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include <errno.h>
......
......@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include <gtest/gtest.h>
......
......@@ -19,7 +19,7 @@
#include "common/exception/Exception.hpp"
#include "common/exception/Errnum.hpp"
#include "common/utils/strerror_r_wrapper.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include <attr/xattr.h>
#include <limits>
......
......@@ -30,7 +30,7 @@
#include "common/exception/Exception.hpp"
#include "common/exception/Errnum.hpp"
#include "nameserver/mockNS/SmartFd.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include "nameserver/mockNS/MockNameServer.hpp"
//------------------------------------------------------------------------------
......
......@@ -29,7 +29,7 @@
#include "common/exception/Errnum.hpp"
#include "common/exception/Exception.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
namespace {
......
......@@ -19,7 +19,7 @@
#include "BackendFactory.hpp"
#include "BackendRados.hpp"
#include "BackendVFS.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include "tapeserver/castor/tape/tapeserver/utils/Regex.hpp"
auto cta::objectstore::BackendFactory::createBackend(const std::string& URL)
......@@ -39,4 +39,4 @@ auto cta::objectstore::BackendFactory::createBackend(const std::string& URL)
}
// Fall back to a file URL if all failed
return std::unique_ptr<Backend>(new BackendVFS(URL));
}
\ No newline at end of file
}
......@@ -18,7 +18,7 @@
#include "BackendVFS.hpp"
#include "common/exception/Errnum.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include "tapeserver/castor/tape/tapeserver/utils/Regex.hpp"
#include <fstream>
......
......@@ -25,7 +25,7 @@
#include "common/exception/Exception.hpp"
#include "common/remoteFS/RemotePath.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include "remotens/EosNS.hpp"
#include "XrdCl/XrdClFileSystem.hh"
......
......@@ -24,7 +24,7 @@
#include "common/exception/Exception.hpp"
#include "common/remoteFS/RemotePath.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include "remotens/MockRemoteNS.hpp"
......
......@@ -22,7 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#include "castor/exception/Errnum.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include <errno.h>
#include <string.h>
......
......@@ -27,7 +27,7 @@
#include "castor/io/io.hpp"
#include "castor/utils/SmartFd.hpp"
#include "castor/utils/utils.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include "common/Timer.hpp"
#include "common/exception/Errnum.hpp"
......
......@@ -18,7 +18,7 @@
#include "TapeDaemon.hpp"
#include "common/exception/Errnum.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include <google/protobuf/service.h>
namespace cta { namespace tape { namespace daemon {
......
......@@ -17,7 +17,7 @@
*/
#include "tapeserver/daemon/TpconfigLines.hpp"
#include "common/utils/Utils.hpp"
#include "common/utils/utils.hpp"
#include "common/exception/Errnum.hpp"
#include <errno.h>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment