Skip to content

Commit

Permalink
Merge pull request alibaba#24 from khotyn/master
Browse files Browse the repository at this point in the history
没有必要的三元表达式
  • Loading branch information
丁宇 committed Sep 25, 2013
2 parents 048fee8 + 31dcee9 commit c73c64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/taobao/profile/Manager.java
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public void initialization() {
// 判断启动时间是否大于采集结束时间 2012-05-25
DateFormat df = new SimpleDateFormat("HH:mm:ss");
String now = df.format(new Date());
moreThanEndTime = (now.compareTo(profConfig.getEndProfTime()) > 0 ) ? true : false;
moreThanEndTime = (now.compareTo(profConfig.getEndProfTime()) > 0 );
isDebugMode = profConfig.isDebugMode();
PORT = profConfig.getPort();

Expand Down

0 comments on commit c73c64e

Please sign in to comment.