Omaha #5281: Fix errors with empty caveData dir

Change-Id: Icf3093e8c4191aeb1ba80a7f34e23eed0b90544c

Former-commit-id: 336db2ff7ce99e0eca28763e61131a123d792ee5
This commit is contained in:
Tim Jensen 2016-02-15 16:09:06 -06:00
parent 4ce5ebe0c8
commit d77ceb8459

View file

@ -68,9 +68,8 @@ import com.raytheon.uf.viz.thinclient.preferences.ThinClientPreferenceConstants;
* Jun 03, 2014 3217 bsteffen Add option to always open startup dialog.
* Jun 24, 2014 3236 njensen Add ability to remember multiple servers
* Oct 08, 2015 4891 njensen Added tooltip to useProxyCheck
* Feb 08, 2016, 5281 tjensen Reworked interface to simply options
*
*
* Feb 08, 2016 5281 tjensen Reworked interface to simply options
* Feb 15, 2016 5281 tjensen Added check for null in validate method
*
* </pre>
*
@ -295,6 +294,8 @@ public class ThinClientConnectivityDialog extends ConnectivityPreferenceDialog {
status = null;
details = null;
// If we don't have a localizationSrv yet, fail validation gracefully.
if (localizationSrv != null) {
// validate proxy
proxyAddress = localizationSrv.getText();
@ -334,6 +335,7 @@ public class ThinClientConnectivityDialog extends ConnectivityPreferenceDialog {
alertVizText.setBackground(getTextColor(isAlertVizGood()));
}
}
}
boolean everythingGood = servicesGood && pypiesGood && isSiteGood()
&& isAlertVizGood() && jmsGood;