Mijeong Park Mijeong Park 2018-02-07
noti-message: Modify logic for preventing null return in getPlainMessage
@bf30d065dcd352f6b1260a5a5edf76d573309328
app/models/NotificationEvent.java
--- app/models/NotificationEvent.java
+++ app/models/NotificationEvent.java
@@ -218,7 +218,7 @@
             case ISSUE_BODY_CHANGED:
                 return DiffUtil.getDiffPlainText(oldValue, newValue);
             default:
-                return null;
+                return getMessage(lang);
         }
     }
 
Add a comment
List