From 5caae4d450374622bafd3acaa53d983877db45b2 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Fri, 11 Nov 2011 09:19:19 +0000 Subject: [PATCH] Fix documentation of Collator: Greater and GreaterOrEqual are not commutative (that would mean Greater(s1, s2) is the same as Greater(s2, s1), and adding a negation in front of them is not enough either. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43233 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- docs/user/locale/Collator.dox | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/user/locale/Collator.dox b/docs/user/locale/Collator.dox index b44d9135e1..f126c2a5e6 100644 --- a/docs/user/locale/Collator.dox +++ b/docs/user/locale/Collator.dox @@ -210,8 +210,8 @@ int8 strength) const \brief Determine if a string is greater than another. - \note This method is commutative meaning that !Greater(s1, s2) - is the same as Greater(s2, s1). + \note !Greater(s1, s2) is the same as GreaterOrEqual(s2, s1). This means + there is no need for Lesser(s1, s2) and LesserOrEqual(s1, s2) methods. \param s1 The first string to compare. \param s2 The second string to compare. @@ -226,8 +226,7 @@ int8 strength) const \brief Determines if one string is greater than another. - \note This method is commutative meaning that !GreaterOrEqual(s1, s2) - is the same as GreaterOrEqual(s2, s1). + \note !GreaterOrEqual(s1, s2) is the same as Greater(s2, s1). \param s1 The first string to compare. \param s2 The second string to compare.