未验证 提交 29da1ad7 编写于 作者: L Liang Zhang 提交者: GitHub

Update src release assembly (#3428)

* do not copy node dependencies to src release

* fix checkstyle

* update release notes
上级 c5390612
......@@ -7,9 +7,27 @@
### Enhancement
1. Through Bugfix, the feature of encryption becomes much stable and applicable.
1. Support using less-than character(<) and greater-than character(>) for sharding data.
1. When master and slave dataSources exist, support executing `SELECT FOR UPDATE` on master dataSource.
1. Support hint in Sharding-Proxy.
1. Finish to parse DAL syntax for MySQL.
1. Make configuration of orchestration compatible between Sharding-JDBC and Sharding-Proxy.
### Bug Fixes
1. Through Bug fix, the feature of encryption becomes much stable and applicable.
1. Support delete statement with alias.
1. Check and disable update sharding column.
1. Fix wrong type of TINYINT and SMALLINT as INTEGER.
### Refactor
1. Rename optimized module to preprocessor module.
1. Decouple rewrite core module and sharding/encrypt features.
### Change Logs
1. [MILESTONE](https://github.com/apache/incubator-shardingsphere/milestone/8)
## 4.0.0.RC2
......
......@@ -51,6 +51,12 @@
<exclude>**/cobertura.ser</exclude>
<exclude>*.gpg</exclude>
<!-- node ignore -->
<exclude>**/dist/**</exclude>
<exclude>**/node/**</exclude>
<exclude>**/node_modules/**</exclude>
<exclude>**/etc/**</exclude>
<!-- eclipse ignore -->
<exclude>**/.settings/**</exclude>
<exclude>**/.project</exclude>
......
......@@ -41,9 +41,9 @@ public final class UserAuthenticationService {
@Getter
@Setter
private String password;
final Base64 base64 = new Base64();
private final Base64 base64 = new Base64();
private Gson gson = new Gson();
/**
......@@ -53,7 +53,7 @@ public final class UserAuthenticationService {
* @return check success or failure
*/
public boolean checkUser(final UserAccount userAccount) {
if (userAccount == null || Strings.isNullOrEmpty(userAccount.getUsername()) || Strings.isNullOrEmpty(userAccount.getPassword())) {
if (null == userAccount || Strings.isNullOrEmpty(userAccount.getUsername()) || Strings.isNullOrEmpty(userAccount.getPassword())) {
return false;
}
return username.equals(userAccount.getUsername()) && password.equals(userAccount.getPassword());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册