Bug 448168 - Apply |s/entires/entries/g|; r=roc
authorRobert Sesek <rsesek@bluestatic.org>
Thu, 04 Aug 2011 09:04:29 +0200
changeset 73845 49f8fb1d048fcc3b8dbbb7fca990b173b76e0af6
parent 73844 0cff49ed75df6778f7b4777c1c96ecd8d91e377c
child 73846 3a3e648530b2f10ae6340b5a49c7252833cdd655
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewersroc
bugs448168
milestone8.0a1
Bug 448168 - Apply |s/entires/entries/g|; r=roc
accessible/src/base/nsAccessibilityAtomList.h
content/base/src/nsGkAtomList.h
gfx/src/nsColorNameList.h
gfx/thebes/gfxAtomList.h
parser/htmlparser/src/nsDTDUtils.cpp
parser/htmlparser/src/nsHTMLEntityList.h
toolkit/components/places/tests/unit/test_248970.js
toolkit/components/places/tests/unit/test_crash_476292.js
widget/public/nsIJumpListBuilder.idl
widget/src/xpwidgets/nsWidgetAtomList.h
--- a/accessible/src/base/nsAccessibilityAtomList.h
+++ b/accessible/src/base/nsAccessibilityAtomList.h
@@ -38,17 +38,17 @@
 
 /******
 
   This file contains the list of all accessibility nsIAtoms and their values
 
   It is designed to be used as inline input to nsAccessibilityAtoms.cpp *only*
   through the magic of C preprocessing.
 
-  All entires must be enclosed in the macro ACCESSIBILITY_ATOM which will have cruel
+  All entries must be enclosed in the macro ACCESSIBILITY_ATOM which will have cruel
   and unusual things done to it
 
   It is recommended (but not strictly necessary) to keep all entries
   in alphabetical order
 
   The first argument to ACCESSIBILITY_ATOM is the C++ identifier of the atom
   The second argument is the string value of the atom
 
--- a/content/base/src/nsGkAtomList.h
+++ b/content/base/src/nsGkAtomList.h
@@ -39,17 +39,17 @@
   This file contains the list of all atoms used by gklayout;
   see nsGkAtoms for access to the atoms.
 */
 
 /*
   This file is designed to be used as inline input to nsGkAtoms.cpp and nsGkAtoms.h
   *only* through the magic of C preprocessing.
 
-  All entires must be enclosed in the macro GK_ATOM which will have cruel
+  All entries must be enclosed in the macro GK_ATOM which will have cruel
   and unusual things done to it
 
   The first argument to GK_ATOM is the C++ name of the atom
   The second argument it GK_ATOM is the string value of the atom
 */
 
 // OUTPUT_CLASS=nsGkAtoms
 // MACRO_NAME=GK_ATOM
--- a/gfx/src/nsColorNameList.h
+++ b/gfx/src/nsColorNameList.h
@@ -38,17 +38,17 @@
 /******
 
   This file contains the list of all named colors
   See nsCSSColorNames.h for access to the enum values for colors
 
   It is designed to be used as inline input to nsCSSColorNames.cpp *only*
   through the magic of C preprocessing.
 
-  All entires must be enclosed in the macro GFX_COLOR which will have cruel
+  All entries must be enclosed in the macro GFX_COLOR which will have cruel
   and unusual things done to it
 
   It is recommended (but not strictly necessary) to keep all entries
   in alphabetical order
 
   The first argument to GFX_COLOR is both the enum identifier of the color
   and the string value
   The second argument is the sRGBA value for the named color
--- a/gfx/thebes/gfxAtomList.h
+++ b/gfx/thebes/gfxAtomList.h
@@ -36,17 +36,17 @@
 
 /******
 
   This file contains the list of all gfx language nsIAtoms and their values
   
   It is designed to be used as inline input to gfxAtoms.cpp *only*
   through the magic of C preprocessing.
 
-  All entires must be enclosed in the macro GFX_ATOM which will have cruel
+  All entries must be enclosed in the macro GFX_ATOM which will have cruel
   and unusual things done to it
 
   It is recommended (but not strictly necessary) to keep all entries
   in alphabetical order
 
   The first argument to GFX_ATOM is the C++ identifier of the atom
   The second argument is the string value of the atom
 
--- a/parser/htmlparser/src/nsDTDUtils.cpp
+++ b/parser/htmlparser/src/nsDTDUtils.cpp
@@ -530,17 +530,17 @@ void nsDTDContext::PushEntry(nsTagEntry*
 #ifdef  NS_DEBUG
     int size=mStack.mCount;
     if(size< eMaxTags && aEntry)
       mXTags[size]=aEntry->mTag;
 #endif
     mStack.PushEntry(aEntry, aRefCntNode);
 }
 
-/* This method will move the top entires, in the entry-stack, into dest context.
+/* This method will move the top entries, in the entry-stack, into dest context.
  * @param aDest  - Destination context for the entries.
  * @param aCount - Number of entries, on top of the entry-stack, to be moved.
  */
 void 
 nsDTDContext::MoveEntries(nsDTDContext& aDest,
                           PRInt32 aCount)
 {
   NS_ASSERTION(aCount > 0 && mStack.mCount >= aCount, "cannot move entries");
--- a/parser/htmlparser/src/nsHTMLEntityList.h
+++ b/parser/htmlparser/src/nsHTMLEntityList.h
@@ -38,17 +38,17 @@
 /******
 
   This file contains the list of all HTML entities 
   See nsHTMLEntities.h for access to the enum values for entities
 
   It is designed to be used as inline input to nsHTMLEntities.cpp *only*
   through the magic of C preprocessing.
 
-  All entires must be enclosed in the macro HTML_ENTITY which will have cruel
+  All entries must be enclosed in the macro HTML_ENTITY which will have cruel
   and unusual things done to it
 
   It is recommended (but not strictly necessary) to keep all entries
   in alphabetical order
 
   The first argument to HTML_ENTITY is the string value of the entity
   The second argument it HTML_ENTITY is the unicode value of the entity
 
--- a/toolkit/components/places/tests/unit/test_248970.js
+++ b/toolkit/components/places/tests/unit/test_248970.js
@@ -242,17 +242,17 @@ function run_test() {
     // Add a second set of history items during private browsing mode
     // should not be viewed/stored or in any way retrievable
     fill_history_nonvisitedURI();
     nonvisited_URIs.forEach(function (nonvisited_uri) {
       do_check_false(!!page_in_database(nonvisited_uri));
       do_check_false(PlacesUtils.bhistory.isVisited(uri(nonvisited_uri)));
     });
 
-    // We attempted to add another 7 new entires, but we still have 7 history entries
+    // We attempted to add another 7 new entries, but we still have 7 history entries
     // and 1 history entry, Bookmark-A.
     // Private browsing blocked the entry of the new history entries
     check_placesItem_Count();
 
     // Check if Bookmark-A is still accessible
     do_check_true(PlacesUtils.bookmarks.isBookmarked(bookmark_A_URI));
     do_check_eq("google",PlacesUtils.bookmarks.getKeywordForURI(bookmark_A_URI));
 
--- a/toolkit/components/places/tests/unit/test_crash_476292.js
+++ b/toolkit/components/places/tests/unit/test_crash_476292.js
@@ -42,17 +42,17 @@
  * getting the bookmarks service during nsNavHistory::Init when the bookmarks
  * service was created before the history service was.
  */
 
 function run_test()
 {
   // First, we need to move our old database file into our test profile
   // directory.  This will trigger DATABASE_STATUS_UPGRADED (CREATE is not
-  // sufficient since there will be no entires to update frecencies for, which
+  // sufficient since there will be no entries to update frecencies for, which
   // causes us to get the bookmarks service in the first place).
   let dbFile = do_get_file("bug476292.sqlite");
   let profD = Cc["@mozilla.org/file/directory_service;1"].
              getService(Ci.nsIProperties).
              get(NS_APP_USER_PROFILE_50_DIR, Ci.nsIFile);
   dbFile.copyTo(profD, "places.sqlite");
 
   // Now get the bookmarks service.  This will crash when the bug exists.
--- a/widget/public/nsIJumpListBuilder.idl
+++ b/widget/public/nsIJumpListBuilder.idl
@@ -57,17 +57,17 @@ interface nsIJumpListBuilder : nsISuppor
    * the number through system preferences. User may also pin items to jump lists,
    * which take up additional slots. Applications do not have control over the
    * number of items allowed in jump lists; excess items added are dropped by the
    * system. Item insertion priority is defined as first to last added. 
    *
    * Users may remove items from jump lists after they are commited. The system
    * tracks removed items between commits. A list of these items is returned by
    * a call to initListBuild. nsIJumpListBuilder does not filter entries added that
-   * have been removed since the last commit. To prevent repeatedly adding entires
+   * have been removed since the last commit. To prevent repeatedly adding entries
    * users have removed, applications are encoraged to track removed items 
    * internally.
    *
    * Each list is made up of an array of nsIWinJumpListItems representing items
    * such as shortcuts, links, and separators. See nsIJumpListItem for information
    * on adding additional jump list types.
    */
 
--- a/widget/src/xpwidgets/nsWidgetAtomList.h
+++ b/widget/src/xpwidgets/nsWidgetAtomList.h
@@ -38,17 +38,17 @@
 
 /******
 
   This file contains the list of all Widget nsIAtoms and their values
   
   It is designed to be used as inline input to nsWidgetAtoms.cpp *only*
   through the magic of C preprocessing.
 
-  All entires must be enclosed in the macro WIDGET_ATOM which will have cruel
+  All entries must be enclosed in the macro WIDGET_ATOM which will have cruel
   and unusual things done to it
 
   It is recommended (but not strictly necessary) to keep all entries
   in alphabetical order
 
   The first argument to WIDGET_ATOM is the C++ identifier of the atom
   The second argument is the string value of the atom