Conversation
All objects in Java implicity extend `java.lang.Object` so `extends Object` is redundant. Removing it will reduce confusion, and increase code readability.
```
if (foo()) {
return true;
} else {
return false;
}
```
can be simplified to:
```
return foo();
```
`return;` is unnecessary if it is the last statement in a `void` method
|Example|Replacement| |-|-| |`condition ? true : false`|`condition`| |`condition ? false : true`|`!condition`| |`value == null ? null : value`|`value`| |`result != 0 ? result : 0`|`result`| |`a == b ? a : b`|`b`|
* Add connection properties to specify a custom TrustManager Adds two new connection properties that can be used to specify a custom TrustManager implementation: trustManagerClass - Class name of the custom TrustManager trustManagerConstructorArg - Optional argument to pass to the constructor constructor of the custom TrustManager. If encryption is enabled and the trustManagerClass property is specified, it will be retrieved via Class.forName(...). If the optional property trustManagerConstructorArg is specified, then a constructor will be retrieved via getDeclaredConstructors(String.class). The TrustManager will then be instantiated by specified the optional argument as a parameter. If the optional property trustManagerConstructorArg is not specfied, then the default no argument constructor of the class will be retrieved and instantiated. * Adding a few simple test to verify the newly added connection properties * Rename custom trustmanager test package name Previous package name used camel case. Corrects naming to be lower case. * Add missing newlines to trustmanager test classes * Refactor references to trust managers in tests * Refactor whitespace and unneeded extends Object * Add resource cleanup to trust manager tests * Refactor failure handling for trust manager test * Rename tmClazz to tmClass * Add new trust manager properties to SQLServerDataSource * Reword comment * Format custom trustmanager changes with auto formatter
Fix exception thrown by getters on null columns
removing javax.xml.bind package dependency
fix methods that use sp_fkeys
Cleanup travis appveyor
Fix for Classloader leak issue
Remove explicit extends object
Remove redundant if/else statements
Remove unnecessary return statements
Simplify overly complex boolean expressions
Removing deprecated APIs in java 9
Revert "removing javax.xml.bind package dependency "
…ed_APIs Revert "Removing deprecated APIs in java 9"
Revert "Remove redundant if/else statements"
release process for 6.3.3
|
@peterbae, |
Codecov Report
@@ Coverage Diff @@
## master #507 +/- ##
============================================
+ Coverage 46.3% 46.44% +0.14%
- Complexity 2209 2212 +3
============================================
Files 108 108
Lines 25231 25312 +81
Branches 4173 4181 +8
============================================
+ Hits 11682 11755 +73
+ Misses 11537 11530 -7
- Partials 2012 2027 +15
Continue to review full report at Codecov.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.