<Swing Dev> Replace concat String to append in StringBuilder parameters

Otávio Gonçalves de Santana otaviojava at java.net
Fri Aug 15 09:41:43 UTC 2014


Could anyone help me as sponsor, please?


On Tue, Aug 12, 2014 at 8:01 PM, Otávio Gonçalves de Santana <
otaviojava at java.net> wrote:

> Thank you Roger.
> Done
>
> https://dl.dropboxusercontent.com/u/16109193/open_jdk/string_builder_concat_6.zip
>
>
> On Tue, Aug 12, 2014 at 10:15 AM, roger riggs <roger.riggs at oracle.com>
> wrote:
>
>> fyi,
>>
>> There's a Perl script normalizer.pl that detects/fixes most of the
>> simple tab/white space issues.
>> The script is in the <repo>/make/scripts/normalizer.pl
>>
>> Roger
>>
>>
>> On 8/12/2014 3:48 AM, Andrej Golovnin wrote:
>>
>>> Hi Otávio,
>>>
>>> I think you should fix the indentation in a lot of classes. You use the
>>> tab-character for the indentation. As far as I know we should use the
>>> space
>>> character for the indentation in the JDK sources (Oracle devs feel free
>>> to
>>> correct me if I'm wrong. And it would be really nice if the style guide
>>> for
>>> the source code would be a part of the JDK repository. So we don't need
>>> to
>>> search for it on the internet/wiki. Just clone the repository, read the
>>> style guide and follow it. :-) ). Here is the not complete list of
>>> classes
>>> where you used the tab-character for the indentation:
>>>
>>> src/share/classes/com/sun/crypto/provider/OAEPParameters.java
>>> src/share/classes/java/lang/management/MemoryUsage.java
>>> src/share/classes/java/security/KeyStore.java
>>> src/share/classes/java/security/PermissionCollection.java
>>> src/share/classes/java/security/ProtectionDomain.java
>>> src/share/classes/java/security/cert/CertPath.java
>>> src/share/classes/java/security/cert/PKIXCertPathBuilderResult.java
>>> src/share/classes/java/security/cert/PKIXParameters.java
>>> src/share/classes/java/security/cert/PolicyQualifierInfo.java
>>> src/share/classes/java/security/cert/TrustAnchor.java
>>> src/share/classes/java/security/cert/X509CertSelector.java
>>> src/share/classes/javax/crypto/CryptoPermission.java
>>> src/share/classes/javax/management/relation/Role.java
>>>
>>>
>>> In src/share/classes/com/sun/jmx/snmp/IPAcl/Parser.jj in the line 423 a
>>> dot
>>> is missed before append:
>>>
>>> 423   {jjtn000.name.append( '.')append(t.image); }
>>>
>>> Best regards,
>>> Andrej Golovnin
>>>
>>
>>
>
>
> --
> Otávio Gonçalves de Santana
>
> blog:     http://otaviosantana.blogspot.com.br/
> twitter: http://twitter.com/otaviojava
> site:     *http://about.me/otaviojava <http://about.me/otaviojava>*
> 55 (11) 98255-3513
>



-- 
Otávio Gonçalves de Santana

blog:     http://otaviosantana.blogspot.com.br/
twitter: http://twitter.com/otaviojava
site:     *http://about.me/otaviojava <http://about.me/otaviojava>*
55 (11) 98255-3513
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20140815/c035ee57/attachment.html>


More information about the swing-dev mailing list