File tree 3 files changed +4
-2
lines changed 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 195
195
196
196
<!-- Checks for common coding problems -->
197
197
<!-- See http://checkstyle.sf.net/config_coding.html -->
198
+ <!--
198
199
<module name="AvoidInlineConditionals"/>
200
+ -->
199
201
<module name =" EmptyStatement" />
200
202
<module name =" EqualsHashCode" />
201
203
<module name =" HiddenField" >
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public void add(SuspiciousActivity activity) {
45
45
params .put ("occurred_at" , activity .getOccurredAt ());
46
46
params .put ("page" , activity .getPage ());
47
47
Integer userId = activity .getUser () != null // NOPMD
48
- ? activity .getUser ().getId () // NOCHECKSTYLE
48
+ ? activity .getUser ().getId ()
49
49
: null ;
50
50
params .put ("user_id" , userId );
51
51
params .put ("ip" , activity .getIp ());
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ private String getTextOfActivationMail(UsersActivation activation) {
110
110
Url .ACTIVATE_ACCOUNT_PAGE_WITH_KEY .replace ("{key}" , activation .getActivationKey ());
111
111
112
112
Map <String , String > ctx = new HashMap <>();
113
- ctx .put ("site_url" , testMode ? Url .SITE : Url .PUBLIC_URL ); // NOCHECKSTYLE: AvoidInlineConditionalsCheck
113
+ ctx .put ("site_url" , testMode ? Url .SITE : Url .PUBLIC_URL );
114
114
ctx .put ("activation_url_with_key" , activationUrl );
115
115
ctx .put ("expire_after_days" , String .valueOf (CronService .PURGE_AFTER_DAYS ));
116
116
You can’t perform that action at this time.
0 commit comments