ballerina-lang
ballerina-lang copied to clipboard
The Ballerina Programming Language
## Purpose Superfluous exceptions within throws clauses have negative effects on the readability and maintainability of the code. An exception in a throws clause is superfluous if it is: -...
## Purpose - Add private constructor to utility classes - Mark util classes final https://sonarcloud.io/organizations/ballerina-platform/rules?open=java%3AS1118&rule_key=java%3AS1118 https://sonarcloud.io/organizations/ballerina-platform/rules?open=java%3AS2440&rule_key=java%3AS2440 ## Approach > Describe how you are implementing the solutions along with the design...
## Purpose Early classes of the Java API, such as Vector, Hashtable and StringBuffer, were synchronized to make them thread-safe. However, synchronization has a significant negative impact on performance, even...
## Purpose This is a continuation of PR #42894. Somehow I missed a lot of places where `collect(Collectors.toList())` is still used. I also had to fix some typing issues since...
## Purpose Many resources in Java need be closed after they have been used. If they are not, the garbage collector cannot reclaim the resources' memory, and they are still...
## Purpose In Java 16, the feature "Pattern matching for instanceof" is finalized and can be used in production. Previously developers needed to do 3 operations in order to do...
## Purpose To ensure type-safety, generics should always be filled out (= no more raw types). Some issues I encountered: - Some casts could not easily be made, like converting...
### Description I don't know if this is a bug or intended, but it seems quite strange that both Object and Service have the same TypeTag. I think it was...
## Purpose $title Fixes #42327 ## Approach > Describe how you are implementing the solutions along with the design details. ## Samples > Provide high-level details about the samples related...
## Purpose $subject Fixes #42972 ## Approach > Describe how you are implementing the solutions along with the design details. ## Samples > Provide high-level details about the samples related...