Author: rwhitcomb Date: Mon Apr 24 22:53:03 2017 New Revision: 1792557 URL: http://svn.apache.org/viewvc?rev=1792557&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.
This is a merge of revision 1792556 from "trunk" to "branches/2.0.x". Modified: pivot/branches/2.0.x/ (props changed) pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/Alert.java Propchange: pivot/branches/2.0.x/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Mon Apr 24 22:53:03 2017 @@ -1 +1 @@ -/pivot/trunk:1346574,1347051,1394847,1394858,1398511,1399331,1401781,1405882,1407585,1409081,1410536,1410555,1417081,1417258,1428056,1428650,1435351,1436707,1438126,1438659,1444260,1444910,1502657,1510821,1516518,1519859,1522078,1523205,1523736,1523776,1525982,1526005,1536829,1537222,1604238,1610563,1611829,1614462,1624381,1675204,1675517,1678238,1678251,1687873-1687874,1688306,1688484,1688523,1691618,1712175,1717360,1727931,1728247,1729480,1729493,1730100,1730108,1735181,1735282,1740570,1747445,1750549,1756534,1783447,1792531 +/pivot/trunk:1346574,1347051,1394847,1394858,1398511,1399331,1401781,1405882,1407585,1409081,1410536,1410555,1417081,1417258,1428056,1428650,1435351,1436707,1438126,1438659,1444260,1444910,1502657,1510821,1516518,1519859,1522078,1523205,1523736,1523776,1525982,1526005,1536829,1537222,1604238,1610563,1611829,1614462,1624381,1675204,1675517,1678238,1678251,1687873-1687874,1688306,1688484,1688523,1691618,1712175,1717360,1727931,1728247,1729480,1729493,1730100,1730108,1735181,1735282,1740570,1747445,1750549,1756534,1783447,1792531,1792556 Modified: pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/Alert.java URL: http://svn.apache.org/viewvc/pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/Alert.java?rev=1792557&r1=1792556&r2=1792557&view=diff ============================================================================== --- pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/Alert.java (original) +++ pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/Alert.java Mon Apr 24 22:53:03 2017 @@ -184,7 +184,7 @@ public class Alert extends Dialog { } public Alert() { - this(null, null, null); + this(null, "", null); } public Alert(String message) {