[ 
https://issues.apache.org/jira/browse/NETBEANS-6081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

José Contreras updated NETBEANS-6081:
-------------------------------------
    Description: 
I did some cleaning to the 'enterprise' module with the 'Inspect & Transform' 
tool. I divided the cleaning in 8 parts/commits.

Cleaning enterprise module part 1: (MERGED)
 - Remove unnecessary boxing
 - Remove unnecessary unboxing
 - Remove boxing of already boxed value
 - Remove creating new Boolean

Cleaning enterprise module part 2: (MERGED)
 - Remove import From java.lang Package
 - Remove import From The Same Package

Cleaning enterprise module part 3: (MERGED)
 - Remove redundant conditional expressions
 - Remove empty statements (semicolon)

Cleaning enterprise module part 4:
 - Replace length one String in String.indexOf ("c" -> 'c')
 - Remove redundant String.toString()
 - Use String concatenation in StringBuilder.append
 - Remove String constructor
 - Replace useless use of StringBuffer with StringBuilder

Cleaning enterprise module part 5:
 - Converts try finally block to try-with-resources when possible

Cleaning enterprise module part 6:
 - Remove String concatenation in logger
 - Logger declaration is not static final
 - Remove unnecessary Throwable.initCause

Cleaning enterprise module part 7:
 - Join catch sections using multicatch

Cleaning enterprise module part 8:
 - Add @Override Annotation

  was:
I did some cleaning to the 'enterprise' module with the 'Inspect & Transform' 
tool. I divided the cleaning in 8 parts/commits.

Cleaning enterprise module part 1: (MERGED)
 - Remove unnecessary boxing
 - Remove unnecessary unboxing
 - Remove boxing of already boxed value
 - Remove creating new Boolean

Cleaning enterprise module part 2:
 - Remove import From java.lang Package
 - Remove import From The Same Package

Cleaning enterprise module part 3:
 - Remove redundant conditional expressions
 - Remove empty statements (semicolon)

Cleaning enterprise module part 4:
 - Replace length one String in String.indexOf ("c" -> 'c')
 - Remove redundant String.toString()
 - Use String concatenation in StringBuilder.append
 - Remove String constructor
 - Replace useless use of StringBuffer with StringBuilder
 - Unnecessary temporary during conversion from String
 - Unnecessary temporary during conversion to String

Cleaning enterprise module part 5:
 - Converts try finally block to try-with-resources when possible

Cleaning enterprise module part 6:
 - Remove String concatenation in logger
 - Logger declaration is not static final
 - Remove unnecessary Throwable.initCause

Cleaning enterprise module part 7:
 - Join catch sections using multicatch

Cleaning enterprise module part 8:
 - Add @Override Annotation


> Cleaning to the 'enterprise' module
> -----------------------------------
>
>                 Key: NETBEANS-6081
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-6081
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: javaee - Code
>    Affects Versions: 12.5
>         Environment: Fedora 34 (Workstation Edition)
> AMD® Ryzen 7 5800x
> 62.7 GiB
> SSD Samsung 983 ZET
> JDK VM Zulu11.50+19-CA (build 11.0.12+7-LTS, mixed mode)
>            Reporter: José Contreras
>            Assignee: José Contreras
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 12.6
>
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> I did some cleaning to the 'enterprise' module with the 'Inspect & Transform' 
> tool. I divided the cleaning in 8 parts/commits.
> Cleaning enterprise module part 1: (MERGED)
>  - Remove unnecessary boxing
>  - Remove unnecessary unboxing
>  - Remove boxing of already boxed value
>  - Remove creating new Boolean
> Cleaning enterprise module part 2: (MERGED)
>  - Remove import From java.lang Package
>  - Remove import From The Same Package
> Cleaning enterprise module part 3: (MERGED)
>  - Remove redundant conditional expressions
>  - Remove empty statements (semicolon)
> Cleaning enterprise module part 4:
>  - Replace length one String in String.indexOf ("c" -> 'c')
>  - Remove redundant String.toString()
>  - Use String concatenation in StringBuilder.append
>  - Remove String constructor
>  - Replace useless use of StringBuffer with StringBuilder
> Cleaning enterprise module part 5:
>  - Converts try finally block to try-with-resources when possible
> Cleaning enterprise module part 6:
>  - Remove String concatenation in logger
>  - Logger declaration is not static final
>  - Remove unnecessary Throwable.initCause
> Cleaning enterprise module part 7:
>  - Join catch sections using multicatch
> Cleaning enterprise module part 8:
>  - Add @Override Annotation



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to