Print this page
6205 onbld manuals should be declared as 1onbld
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/scripts/jstyle.1.man.txt
          +++ new/usr/src/tools/scripts/jstyle.1onbld.man.txt
   1      -jstyle(1)                        User Commands                       jstyle(1)
        1 +jstyle(1ONBLD)                illumos Build Tools               jstyle(1ONBLD)
   2    2  
   3    3  
   4    4  
   5    5  NAME
   6    6         jstyle - check for some common stylistic errors in Java source files
   7    7  
   8    8  SYNOPSIS
   9    9         jstyle [-chptvC] [file...]
  10   10  
  11   11  DESCRIPTION
  12   12         jstyle inspects Java source files (*.java) for common stylistic errors.
  13      -       It is similar to cstyle(1) in that it attempts to check for the style
  14      -       documented in /shared/ON/general_docs/cstyle.ms.pdf, although by
       13 +       It is similar to cstyle(1ONBLD) in that it attempts to check for the
       14 +       style documented in /shared/ON/general_docs/cstyle.ms.pdf, although by
  15   15         necessity is modified to work with Java-specific constructs.  Note that
  16   16         there is much in that document that cannot be checked for; just because
  17      -       your code is jstyle(1) clean does not mean that you've followed Sun's
  18      -       Java style.  Caveat emptor.
       17 +       your code is jstyle(1ONBLD) clean does not mean that you've followed
       18 +       Sun's Java style.  Caveat emptor.
  19   19  
  20   20  OPTIONS
  21   21         The following options are supported:
  22   22  
  23   23         -c  Check continuation line indentation inside of functions.  Sun's C
  24   24             style states that all statements must be indented to an appropriate
  25   25             tab stop, and any continuation lines after them must be indented
  26   26             exactly four spaces from the start line.  This option enables a
  27   27             series of checks designed to find contination line problems within
  28   28             functions only.
↓ open down ↓ 24 lines elided ↑ open up ↑
  53   53         against both the old and new files:
  54   54  
  55   55         jstyle file
  56   56  
  57   57         jstyle -p file
  58   58  
  59   59         If the old file gave no errors for one of the invocations, the new file
  60   60         must also give no errors.  This way, files cannot become unclean.
  61   61  
  62   62  BUGS
  63      -       jstyle(1) cannot disambiguate Java generic type parameters or arguments
  64      -       that span multiple lines from relational operators.  For example:
       63 +       jstyle(1ONBLD) cannot disambiguate Java generic type parameters or
       64 +       arguments that span multiple lines from relational operators.  For
       65 +       example:
  65   66  
  66   67             private class Foo<A extends Bar,
  67   68             B extends Bar> { ...
  68   69  
  69   70         is flagged as two lines with missing spaces around relational
  70   71         operators.
  71   72  
  72   73  
  73   74  
  74      -                               22 November 2005                      jstyle(1)
       75 +                               22 November 2005                 jstyle(1ONBLD)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX