From b8db52dde2ccd365920b3c3b3cf7597d0e1dc1ab Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@Germany>
Date: Mon, 23 Jun 2008 17:32:09 +0200
Subject: [PATCH] find-longlines

  * output full file path
  * some preliminary file edits to restore 80-col max.
---
 doc/Doxygen/tools/find-longlines                  |  2 +-
 src/OpenFOAM/db/IOstreams/IOstreams/IOmanip.H     | 15 ++++++++++++---
 src/OpenFOAM/db/Time/timeSelector.H               |  2 +-
 src/OpenFOAM/global/argList/argList.H             |  2 +-
 .../meshes/ProcessorTopology/commSchedule.H       |  2 +-
 .../polyMesh/mapPolyMesh/objectMap/objectMapI.H   |  2 +-
 6 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/doc/Doxygen/tools/find-longlines b/doc/Doxygen/tools/find-longlines
index c5294715d8c..424cd91cd28 100755
--- a/doc/Doxygen/tools/find-longlines
+++ b/doc/Doxygen/tools/find-longlines
@@ -31,7 +31,7 @@ sub wanted {
         if ( $maxlen < length ) {
             $count++;
             substr( $_, $maxlen, 0 ) = "||->>";    # show truncation point
-            print "$ARGV $. $_\n";
+            print "$File::Find::name  $. $_\n";
         }
     }
     close ARGV;
diff --git a/src/OpenFOAM/db/IOstreams/IOstreams/IOmanip.H b/src/OpenFOAM/db/IOstreams/IOstreams/IOmanip.H
index 0eb8ee6ce89..30f8efcf340 100644
--- a/src/OpenFOAM/db/IOstreams/IOstreams/IOmanip.H
+++ b/src/OpenFOAM/db/IOstreams/IOstreams/IOmanip.H
@@ -170,19 +170,28 @@ inline Smanip<ios_base::fmtflags> setf
 }
 
 
-inline Omanip<IOstream::streamFormat> setformat(const IOstream::streamFormat fmt)
+inline Omanip<IOstream::streamFormat> setformat
+(
+    const IOstream::streamFormat fmt
+)
 {
     return Omanip<IOstream::streamFormat>(&IOstream::format, fmt);
 }
 
 
-inline Omanip<IOstream::versionNumber> setversion(const IOstream::versionNumber ver)
+inline Omanip<IOstream::versionNumber> setversion
+(
+    const IOstream::versionNumber ver
+)
 {
     return Omanip<IOstream::versionNumber>(&IOstream::version, ver);
 }
 
 
-inline Omanip<IOstream::compressionType> setcompression(const IOstream::compressionType cmp)
+inline Omanip<IOstream::compressionType> setcompression
+(
+    const IOstream::compressionType cmp
+)
 {
     return Omanip<IOstream::compressionType>(&IOstream::compression, cmp);
 }
diff --git a/src/OpenFOAM/db/Time/timeSelector.H b/src/OpenFOAM/db/Time/timeSelector.H
index ea5fdb5106f..7d1f15fda1d 100644
--- a/src/OpenFOAM/db/Time/timeSelector.H
+++ b/src/OpenFOAM/db/Time/timeSelector.H
@@ -117,7 +117,7 @@ public:
         //- Select a list of Time values that are within the ranges
         void inplaceSelect(List<instant>&) const;
 
-        //- Add the set of options handled by timeSelector to argList::validOptions
+        //- Add the options handled by timeSelector to argList::validOptions
         //
         // @param constant
         //   Add the @b -constant option to include the @c constant/ directory
diff --git a/src/OpenFOAM/global/argList/argList.H b/src/OpenFOAM/global/argList/argList.H
index f79d6d5d171..648295da842 100644
--- a/src/OpenFOAM/global/argList/argList.H
+++ b/src/OpenFOAM/global/argList/argList.H
@@ -198,7 +198,7 @@ public:
                 return globalCase_;
             }
 
-            //- Return case name for parallel run or the global case for a serial run
+            //- Return case name (parallel run) or global case (serial run)
             const fileName& caseName() const
             {
                 return case_;
diff --git a/src/OpenFOAM/meshes/ProcessorTopology/commSchedule.H b/src/OpenFOAM/meshes/ProcessorTopology/commSchedule.H
index 6238dcc387f..417129ba82b 100644
--- a/src/OpenFOAM/meshes/ProcessorTopology/commSchedule.H
+++ b/src/OpenFOAM/meshes/ProcessorTopology/commSchedule.H
@@ -36,7 +36,7 @@ Description
     Does a very simple scheduling which assumes same time for all operations.
 
     After construction:
-      - schedule() gives the order in which the input communication should happen
+      - schedule() gives the order in which the input communication should occur
       - procSchedule()[procI] gives per procI
 
     Does not care whether 'talking' is first send, second receive or maybe
diff --git a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/objectMap/objectMapI.H b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/objectMap/objectMapI.H
index df98c1c24bf..f433a2701bc 100644
--- a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/objectMap/objectMapI.H
+++ b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/objectMap/objectMapI.H
@@ -90,7 +90,7 @@ inline const labelList& objectMap::masterObjects() const
 }
 
 
-// * * * * * * * * * * * * * * * * Frimaster Operators  * * * * * * * * * * * * //
+// * * * * * * * * * * * * * * * * Friend Operators  * * * * * * * * * * * * //
 
 inline bool operator==(const objectMap& a, const objectMap& b)
 {
-- 
GitLab