No bug - Remove some extraneous empty lines in IDL files. rs=white-space-only
authorGeoff Lankow <geoff@darktrojan.net>
Tue, 19 Jan 2021 17:08:41 +1300
changeset 40971 483715186ab6b7f99a1860a3742375ddcadf4209
parent 40970 f6f7743a893b713963035f470174b67e658ce097
child 40972 e30558214296509edac97783e73de8449971e7cf
push id2937
push userthunderbird@calypsoblue.org
push dateMon, 25 Jan 2021 16:03:33 +0000
treeherdercomm-beta@cd42bfaeab51 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswhite-space-only
No bug - Remove some extraneous empty lines in IDL files. rs=white-space-only
mailnews/base/public/nsIIncomingServerListener.idl
mailnews/base/public/nsIMessenger.idl
mailnews/base/public/nsIMessengerMigrator.idl
mailnews/base/public/nsIMessengerWindowService.idl
mailnews/base/public/nsIMsgBiffManager.idl
mailnews/base/public/nsIMsgContentPolicy.idl
mailnews/base/public/nsIMsgCopyServiceListener.idl
mailnews/base/public/nsIMsgCustomColumnHandler.idl
mailnews/base/public/nsIMsgDBView.idl
mailnews/base/public/nsIMsgFolder.idl
mailnews/base/public/nsIMsgFolderCache.idl
mailnews/base/public/nsIMsgFolderCacheElement.idl
mailnews/base/public/nsIMsgKeyArray.idl
mailnews/base/public/nsIMsgMailSession.idl
mailnews/base/public/nsIMsgMdnGenerator.idl
mailnews/base/public/nsIMsgMessageService.idl
mailnews/base/public/nsIMsgOfflineManager.idl
mailnews/base/public/nsIMsgPrintEngine.idl
mailnews/base/public/nsIMsgProgress.idl
mailnews/base/public/nsIMsgProtocolInfo.idl
mailnews/base/public/nsIMsgPurgeService.idl
mailnews/base/public/nsIMsgShutdown.idl
mailnews/base/public/nsIMsgStatusFeedback.idl
mailnews/base/public/nsISpamSettings.idl
mailnews/base/public/nsISubscribableServer.idl
--- a/mailnews/base/public/nsIIncomingServerListener.idl
+++ b/mailnews/base/public/nsIIncomingServerListener.idl
@@ -25,9 +25,8 @@ interface nsIIncomingServerListener : ns
 
   /**
    * Notification sent when a server hostname or username changes.
    *
    * @param server Server that was changed.
    */
   void onServerChanged(in nsIMsgIncomingServer server);
 };
-
--- a/mailnews/base/public/nsIMessenger.idl
+++ b/mailnews/base/public/nsIMessenger.idl
@@ -137,9 +137,8 @@ interface nsIMessenger : nsISupports {
      *
      * @returns An array containing two URIs for each history position.
      *          First msgURI, then folderURI. So the array will be
      *          twice as long as the number of history positions.
      */
     Array<ACString> getNavigateHistory();
     AString formatFileSize(in unsigned long long aPos, [optional] in boolean aUseKB);
 };
-
--- a/mailnews/base/public/nsIMessengerMigrator.idl
+++ b/mailnews/base/public/nsIMessengerMigrator.idl
@@ -7,9 +7,8 @@
 
 [scriptable, uuid(54818d98-1dd2-11b2-82aa-a9197f997503)]
 interface nsIMessengerMigrator: nsISupports {
   /* migrate old mailnews prefs to the 5.x world */
   void UpgradePrefs();
 
   void createLocalMailAccount(in boolean migrating);
 };
-
--- a/mailnews/base/public/nsIMessengerWindowService.idl
+++ b/mailnews/base/public/nsIMessengerWindowService.idl
@@ -10,9 +10,8 @@
 interface nsIMessengerWindowService : nsISupports {
   /**
    * @param aWindowType  the type of window you want to create. i.e. "mail:3pane"
    * @param aFolderURI   the folder resource you want pre-selected (if any)
    * @param aMsgKey      a particular message you may want selected in that folder (if any)
    */
   void openMessengerWindowWithUri(in string aWindowType, in string aFolderURI, in nsMsgKey aMsgKey);
 };
-
--- a/mailnews/base/public/nsIMsgBiffManager.idl
+++ b/mailnews/base/public/nsIMsgBiffManager.idl
@@ -11,9 +11,8 @@ interface nsIMsgBiffManager : nsISupport
 
   void init();
   void addServerBiff(in nsIMsgIncomingServer server);
   void removeServerBiff(in nsIMsgIncomingServer server);
   void forceBiff(in nsIMsgIncomingServer server);
   void forceBiffAll();
   void shutdown();
 };
-
--- a/mailnews/base/public/nsIMsgContentPolicy.idl
+++ b/mailnews/base/public/nsIMsgContentPolicy.idl
@@ -28,9 +28,8 @@ interface nsIMsgContentPolicy : nsISuppo
 
   /**
    * Remove the specific aScheme from nsMsgContentPolicy's exposed protocols.
    *
    * @param aScheme scheme who will be removed from nsMsgContentPolicy's exposed protocols
    */
   void removeExposedProtocol(in ACString aScheme);
 };
-
--- a/mailnews/base/public/nsIMsgCopyServiceListener.idl
+++ b/mailnews/base/public/nsIMsgCopyServiceListener.idl
@@ -48,9 +48,8 @@ interface nsIMsgCopyServiceListener : ns
     /**
      * Notify the observer that the message copied operation has completed.
      * This method is called regardless of whether the the operation was
      * successful.
      * aStatus - indicate whether the operation was succeeded
      */
     void OnStopCopy(in nsresult aStatus);
 };
-
--- a/mailnews/base/public/nsIMsgCustomColumnHandler.idl
+++ b/mailnews/base/public/nsIMsgCustomColumnHandler.idl
@@ -26,17 +26,15 @@ interface nsIMsgDBHdr;
        Implementers should consider that the value returned by GetSortStringForRow
        will be displayed in the grouped header row, as well as be used as the
        sort string.
 
       If implementing a c++ custom column handler, you must define all
       nsITreeView and nsIMsgCustomColumnHandler methods.
     */
 
-
 [scriptable, uuid(00f75b13-3ac4-4a17-a8b9-c6e4dd1b3f32)]
 interface nsIMsgCustomColumnHandler : nsITreeView
 {
   AString getSortStringForRow(in nsIMsgDBHdr aHdr);
   unsigned long getSortLongForRow(in nsIMsgDBHdr aHdr);
   boolean isString();
 };
-
--- a/mailnews/base/public/nsIMsgDBView.idl
+++ b/mailnews/base/public/nsIMsgDBView.idl
@@ -207,17 +207,16 @@ interface nsMsgNavigationType : nsISuppo
   const nsMsgNavigationTypeValue nextFlagged = 18;
   const nsMsgNavigationTypeValue previousFlagged = 19;
   const nsMsgNavigationTypeValue firstNew = 20;
   const nsMsgNavigationTypeValue editUndo = 21;
   const nsMsgNavigationTypeValue editRedo = 22;
   const nsMsgNavigationTypeValue toggleSubthreadKilled = 23;
 };
 
-
 [scriptable, uuid(fe8a2326-4dd0-11e5-8b8a-206a8aa7a25c)]
 interface nsIMsgDBView : nsISupports
 {
   void open(in nsIMsgFolder folder, in nsMsgViewSortTypeValue sortType, in nsMsgViewSortOrderValue sortOrder, in nsMsgViewFlagsTypeValue viewFlags, out long count);
   void openWithHdrs(in nsISimpleEnumerator aHeaders, in nsMsgViewSortTypeValue aSortType,
                       in nsMsgViewSortOrderValue aSortOrder,
                       in nsMsgViewFlagsTypeValue aViewFlags, out long aCount);
   void close();
@@ -386,17 +385,16 @@ interface nsIMsgDBView : nsISupports
    *
    * @param aMsgHdr - hdr to find.
    * @param aExpand - whether to expand a collapsed thread to find the hdr.
    *
    * @return        - view index of msg hdr, -1 if hdr not found.
    */
   nsMsgViewIndex findIndexOfMsgHdr(in nsIMsgDBHdr aMsgHdr, in boolean aExpand);
 
-
   /**
    * Expands a thread and selects all it's member messages.
    *
    * @param aIndex   - View index of a message in the thread to expand (can be
                        any message which is a member of the thread).
    * @param aAugment - If true, Augment the existing selection.
    *                   If false, replace it.
    */
--- a/mailnews/base/public/nsIMsgFolder.idl
+++ b/mailnews/base/public/nsIMsgFolder.idl
@@ -170,17 +170,16 @@ interface nsIMsgFolder : nsISupports {
    * Close and backup a folder database prior to reparsing
    *
    * @param  newName  New name of the corresponding message folder.
    *                  Used in rename to set the file name to match the renamed
    *                  folder. Set to empty to use the existing folder name.
    */
   void closeAndBackupFolderDB(in ACString newName);
 
-
   /**
    * Delete the backing store of the folder, but not the folder itself.
    */
   [noscript]
   void deleteStorage();
 
   /**
    * Delete this folder and its children, if any.
--- a/mailnews/base/public/nsIMsgFolderCache.idl
+++ b/mailnews/base/public/nsIMsgFolderCache.idl
@@ -1,14 +1,13 @@
 /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
-
 #include "nsISupports.idl"
 
 interface nsIFile;
 interface nsIMsgFolderCacheElement;
 
 [scriptable, uuid(78C2B6A2-E29F-44de-9543-10DBB51E245C)]
 interface nsIMsgFolderCache : nsISupports
 {
--- a/mailnews/base/public/nsIMsgFolderCacheElement.idl
+++ b/mailnews/base/public/nsIMsgFolderCacheElement.idl
@@ -1,14 +1,13 @@
 /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
-
 #include "nsISupports.idl"
 
 [scriptable, uuid(c7392b12-f68a-46b2-af5e-d47350bb17c3)]
 interface nsIMsgFolderCacheElement : nsISupports
 {
   attribute ACString key;
   AUTF8String getStringProperty(in string propertyName);
   long getInt32Property(in string propertyName);
--- a/mailnews/base/public/nsIMsgKeyArray.idl
+++ b/mailnews/base/public/nsIMsgKeyArray.idl
@@ -1,14 +1,13 @@
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
-
 /**
  * This interface wraps an nsTArray<nsMsgKey> so that we can pass arrays
  * back and forth between c++ and js (or via xpconnect generally).
  */
 
 #include "nsISupports.idl"
 #include "MailNewsTypes2.idl"
 
@@ -45,9 +44,8 @@ interface nsIMsgKeyArray : nsISupports {
   /**
    * Retrieves the entire array in such a way that xpconnect can easily
    * create a js array of the keys.
    *
    * @returns array of the keys
    */
   Array<nsMsgKey> getArray();
 };
-
--- a/mailnews/base/public/nsIMsgMailSession.idl
+++ b/mailnews/base/public/nsIMsgMailSession.idl
@@ -71,9 +71,8 @@ interface nsIMsgMailSession : nsISupport
   readonly attribute nsIMsgWindow topmostMsgWindow;
   void AddMsgWindow(in nsIMsgWindow msgWindow);
   void RemoveMsgWindow(in nsIMsgWindow msgWindow);
   boolean IsFolderOpenInWindow(in nsIMsgFolder folder);
 
   string ConvertMsgURIToMsgURL(in string  aURI, in nsIMsgWindow aMsgWindow);
   nsIFile getDataFilesDir(in string dirName);
 };
-
--- a/mailnews/base/public/nsIMsgMdnGenerator.idl
+++ b/mailnews/base/public/nsIMsgMdnGenerator.idl
@@ -26,17 +26,16 @@ interface nsIMsgMdnGenerator : nsISuppor
 
     const ReceiptHdrType eDntType = 0;
     const ReceiptHdrType eRrtType = 1;
     const ReceiptHdrType eDntRrtType = 2;
 
     const MDNIncorporateType eIncorporateInbox = 0;
     const MDNIncorporateType eIncorporateSent = 1;
 
-
     /**
      * Prepare the sending of a mdn reply, and checks the prefs whether a
      * reply should be send. Might send the message automatically if the
      * prefs say it should.
      * @param eType   One of EDisposeType above, indicating the action that led
      *                to sending the mdn reply
      * @param aWindow The window the message was displayed in, acting as parent
      *                for any (error) dialogs
--- a/mailnews/base/public/nsIMsgMessageService.idl
+++ b/mailnews/base/public/nsIMsgMessageService.idl
@@ -33,17 +33,16 @@ interface nsIMsgMessageService : nsISupp
   /**
    * If you want a handle on the running task, pass in a valid nsIURI
    * ptr. You can later interrupt this action by asking the netlib
    * service manager to interrupt the url you are given back.
    * Remember to release aURL when you are done with it. Pass nullptr
    * in for aURL if you don't care about the returned URL.
    */
 
-
   /**
    * Pass in the URI for the message you want to have copied.
    *
    * @param aSrcURI
    * @param aCopyListener already knows about the destination folder.
    * @param aMoveMessage TRUE if you want the message to be moved.
    *                     FALSE leaves it as just a copy.
    * @param aUrlListener
@@ -66,17 +65,16 @@ interface nsIMsgMessageService : nsISupp
    */
   nsIURI CopyMessages(in Array<nsMsgKey> aKeys,
                       in nsIMsgFolder srcFolder,
                       in nsIStreamListener aCopyListener,
                       in boolean aMoveMessage,
                       in nsIUrlListener aUrlListener,
                       in nsIMsgWindow aMsgWindow);
 
-
   /**
    * When you want a message displayed....
    *
    * @param aMessageURI Is a uri representing the message to display.
    * @param aDisplayConsumer Is (for now) an nsIDocShell which we'll use to load
    *                         the message into.
    *                         XXXbz Should it be an nsIWebNavigation or something?
    * @param aMsgWindow
--- a/mailnews/base/public/nsIMsgOfflineManager.idl
+++ b/mailnews/base/public/nsIMsgOfflineManager.idl
@@ -15,9 +15,8 @@ interface nsIMsgOfflineManager : nsISupp
 {
   attribute nsIMsgWindow window; // should be a progress window.
   attribute boolean inProgress;  // an online->offine or online->offline operation in progress.
                                  // the offline menu should be disabled.
   void goOnline(in boolean sendUnsentMessages, in boolean playbackOfflineImapOperations, in nsIMsgWindow aMsgWindow);
   void synchronizeForOffline(in boolean downloadNews, in boolean downloadMail, in boolean sendUnsentMessages,
                             in boolean goOfflineWhenDone, in nsIMsgWindow aMsgWindow);
 };
-
--- a/mailnews/base/public/nsIMsgPrintEngine.idl
+++ b/mailnews/base/public/nsIMsgPrintEngine.idl
@@ -32,9 +32,8 @@ interface nsIMsgPrintEngine : nsISupport
     void addPrintURI(in wstring aURI);
     void startPrintOperation(in nsIPrintSettings aPS);
     void setStartupPPObserver(in nsIObserver startupPPObs);
     void setMsgType(in long aMsgType);
 
     attribute boolean doPrintPreview;
 
 };
-
--- a/mailnews/base/public/nsIMsgProgress.idl
+++ b/mailnews/base/public/nsIMsgProgress.idl
@@ -31,10 +31,8 @@ interface nsIMsgProgress: nsIWebProgress
   /* Unregister a Web Progress Listener */
   void unregisterListener(in nsIWebProgressListener listener);
 
   /* Indicated if the user asked to cancel the current process */
   attribute boolean processCanceledByUser;
 
   attribute nsIMsgWindow msgWindow;
 };
-
-
--- a/mailnews/base/public/nsIMsgProtocolInfo.idl
+++ b/mailnews/base/public/nsIMsgProtocolInfo.idl
@@ -7,17 +7,16 @@
 
 interface nsIFile;
 
 %{C++
 #define NS_MSGPROTOCOLINFO_CONTRACTID_PREFIX \
   "@mozilla.org/messenger/protocol/info;1?type="
 %}
 
-
 [scriptable, uuid(9428b5f5-8b12-493c-aae2-18296c2877b1)]
 interface nsIMsgProtocolInfo : nsISupports
 {
     /**
      * the default path to store local data for this type of
      * server. Each server is usually in a subdirectory below this
      */
     attribute nsIFile defaultLocalPath;
@@ -91,9 +90,8 @@ interface nsIMsgProtocolInfo : nsISuppor
      */
     readonly attribute boolean showComposeMsgLink;
 
     /**
      * Will new folders be created asynchronously?
      */
     readonly attribute boolean foldersCreatedAsync;
 };
-
--- a/mailnews/base/public/nsIMsgPurgeService.idl
+++ b/mailnews/base/public/nsIMsgPurgeService.idl
@@ -6,9 +6,8 @@
 #include "nsISupports.idl"
 
 [scriptable, uuid(c73294b2-b619-4915-b0e8-314d4215e08d)]
 interface nsIMsgPurgeService : nsISupports {
 
   void init();
   void shutdown();
 };
-
--- a/mailnews/base/public/nsIMsgShutdown.idl
+++ b/mailnews/base/public/nsIMsgShutdown.idl
@@ -60,10 +60,8 @@ interface nsIMsgShutdownService : nsISup
    */
   void setShutdownListener(in nsIWebProgressListener inListener);
 
   /**
    * Set the status text of the shutdown progress dialog.
    */
   void setStatusText(in AString inStatusString);
 };
-
-
--- a/mailnews/base/public/nsIMsgStatusFeedback.idl
+++ b/mailnews/base/public/nsIMsgStatusFeedback.idl
@@ -11,9 +11,8 @@ interface nsIMsgStatusFeedback : nsISupp
   void startMeteors();
   void stopMeteors();
   void showProgress(in long aPercent);
   void setStatusString(in AString aStatus); // will be displayed until next user action
 
   /* aStatusFeedback: a wrapped JS status feedback object */
   void setWrappedStatusFeedback(in nsIMsgStatusFeedback aStatusFeedback);
 };
-
--- a/mailnews/base/public/nsISpamSettings.idl
+++ b/mailnews/base/public/nsISpamSettings.idl
@@ -1,15 +1,14 @@
 /* -*- Mode: idl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
-
 #include "nsISupports.idl"
 
 interface nsIOutputStream;
 interface nsIMsgIncomingServer;
 interface nsIMsgDBHdr;
 interface nsIFile;
 
 [scriptable, uuid(1772BE95-FDA9-4dfd-A663-8AF92C1E3024)]
--- a/mailnews/base/public/nsISubscribableServer.idl
+++ b/mailnews/base/public/nsISubscribableServer.idl
@@ -67,9 +67,8 @@ interface nsISubscribableServer : nsISup
   // if path is null, use the root
   AUTF8String getFirstChildURI(in AUTF8String path);
 
   // for searching
   void setSearchValue(in AString searchValue);
   readonly attribute boolean supportsSubscribeSearch;
   readonly attribute nsITreeView folderView;
 };
-