Reformat stops working

It might be a side effect of installing version 10. or it may have
happened a tiny bit later.

But now REFORMAT is inconsistent. Here is the sort of thing it is
producing. Not how { are sometimes indented for a method body and
sometimes not.  I asked to indent.  I did not change the config.


/**
    

  • Default method to read and prepare one county record.

    

  • You must read, and add SalesTaxItem to salesTaxItems, and

skipToNewLine
     *
    

  • @param c open CSV reader.

     *
    

  • @throws IOException if cannot read file

     */
    void prepareCounty( final CSVReader c ) throws IOException
    {
    final int countyNumber = Integer.parseInt( c.get().substring( 0, 2
) );
    final String county = StringToolsAugmented.toBookTitleCase(
c.get() );
    final double percent = c.getDouble();
    c.skipToNextLine();
    countiesByCopo[ countyNumber ] = county;
    lookupCountyTax[ countyNumber ] = percent;
    salesTaxItems.add( new SalesTaxItem( county, "", percent ) );
    }

    // -


main() method
-



    public static void main( String[] args ) throws IOException
        {
        new PrepOklahoma().prepare();
        }
    }

--
Roedy Green Canadian Mind Products
http://mindprod.com

Doubling the size of a team will probably make it produce even more slowly.
The problem is the more team members, the more secrets, the less each team
member understands about how it all fits together and how his changes may
adversely affect others.

2 comments
Comment actions Permalink

On Tue, 14 Dec 2010 11:06:59 MSK, Denis  Zhdanov
<no_reply@jetbrains.com> wrote, quoted or indirectly quoted someone
who said :

>http://youtrack.jetbrains.net/issue/IDEA-62997

that's it. I'm glad someone figured out what triggers it. I have a lot
of code posted on my website.  It is now inconsistently formatted, and
I am getting complaints. There are not many IntelliJ bugs that are
visible to the outside world.
--
Roedy Green Canadian Mind Products
http://mindprod.com
A short order cook is a master of multitasking. Every movement is
optimised from years of practice. Yet when a computer executes a
multitasking program, it approaches the task as if for the first time.

0

Please sign in to leave a comment.