You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2017/04/24 22:47:36 UTC
svn commit: r1792556 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/Alert.java
Author: rwhitcomb
Date: Mon Apr 24 22:47:35 2017
New Revision: 1792556
URL: http://svn.apache.org/viewvc?rev=1792556&view=rev
Log:
Code cleanup: Initialize "message" parameter in Alert's no-arg
constructor to an empty string to avoid IllegalArgumentException
when Label text would be set to null initializing the Alert skin.
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/Alert.java
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Alert.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Alert.java?rev=1792556&r1=1792555&r2=1792556&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Alert.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Alert.java Mon Apr 24 22:47:35 2017
@@ -184,7 +184,7 @@ public class Alert extends Dialog {
}
public Alert() {
- this(null, null, null);
+ this(null, "", null);
}
public Alert(String message) {