Skip to content

Commit

Permalink
Merge pull request alibaba#23 from javartisan/master
Browse files Browse the repository at this point in the history
improving code quality
  • Loading branch information
mercyblitz authored Oct 9, 2018
2 parents df2d28d + 3320de2 commit 55433f0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public byte[] hash(String str) {
/**
* 对二进制数据进行md5
*
* @param str
* @param data
* @return md5 byte[16]
*/
public byte[] hash(byte[] data) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@ public class Constants {
*/
public static final long TOTALTIME_INVALID_THRESHOLD = 60000;

/**
* 批量操作时, 单条数据的状态码
*/
/**
* 发生异常
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public static void main(String[] args) {
static public String getCurrentTimeStr() {
Calendar c = Calendar.getInstance();
c.setTime(new Date());
c.get(Calendar.HOUR);
FastDateFormat format = FastDateFormat.getInstance("yyyy-MM-dd HH:mm:ss");
return format.format(c.getTime());
}
Expand Down

0 comments on commit 55433f0

Please sign in to comment.