diff --git a/nameserver/CastorNameServer.hpp b/nameserver/CastorNameServer.hpp
index 31113886022b5e982d51c11028ef0a271f408555..e64a62a683db11a1956d4835abd1bcd163a5914e 100644
--- a/nameserver/CastorNameServer.hpp
+++ b/nameserver/CastorNameServer.hpp
@@ -82,6 +82,12 @@ private:
    */
   std::string m_server;
   
+  /**
+   * Gets the list of directory entries of a specific path
+   * @param requester The identity of the requester.
+   * @param path      The absolute path of the directory to get the entries from.
+   * @return the list of directory entries of the specified path
+   */
   std::list<cta::ArchiveDirEntry> getDirEntries(const SecurityIdentity &requester, const std::string &path) const;
 
   /**
@@ -90,9 +96,7 @@ private:
    * @param requester The identity of the requester.
    * @param The absolute path of the namespace entry.
    */
-  ArchiveDirEntry getArchiveDirEntry(
-    const SecurityIdentity &requester,
-    const std::string &path) const;
+  ArchiveDirEntry getArchiveDirEntry(const SecurityIdentity &requester, const std::string &path) const;
   
 }; // class CastorNameServer