From e4c1ffda13c4f7da7e2e8dd955b859d030134cbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sun, 3 Jul 2011 19:04:53 +0200 Subject: Tweaked JID doxygen. diff --git a/Swiften/JID/JID.h b/Swiften/JID/JID.h index 8e3b949..876daa0 100644 --- a/Swiften/JID/JID.h +++ b/Swiften/JID/JID.h @@ -18,6 +18,8 @@ namespace Swift { * * Particularly - a Bare JID is a JID without a resource part. * + * A JID can be invalid (when isValid() returns false). No member methods are + * guaranteed to work correctly if they do. */ class JID { public: @@ -82,7 +84,6 @@ namespace Swift { /** * e.g. JID("node@domain").getDomain() == "domain" - * @return could be empty. */ const std::string& getDomain() const { return domain_; -- cgit v0.10.2-6-g49f6