Issue #2287 Fix null pointer in GFEColorBarResource
Change-Id: I477a7d5cc58e61b9d521337a94801114cecde62a Former-commit-id:48e53df2c2
[formerly59c8dc4fae
] [formerly4e768e812d
] [formerly48e53df2c2
[formerly59c8dc4fae
] [formerly4e768e812d
] [formerly8f8e041802
[formerly4e768e812d
[formerly add48ba3bbf77e6e7cbfa756e6da75c78aab6f0f]]]] Former-commit-id:8f8e041802
Former-commit-id:c889da84c7
[formerly4cbdeefa33
] [formerly 7cfb29e315c4749c5fdc19a78dffa13be4b7c9d8 [formerly316ba03c10
]] Former-commit-id: 29b17083fe68f025b1eac1563d3b238ee62154fc [formerlyd782787ec6
] Former-commit-id:8349930763
This commit is contained in:
parent
1f72e4a276
commit
5d879cdbee
1 changed files with 4 additions and 0 deletions
|
@ -707,6 +707,10 @@ public class GFEColorbarResource extends
|
|||
* continuous colorbar range.
|
||||
*/
|
||||
protected void checkFitToData() {
|
||||
if (currentParm == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
String parmName = currentParm.getParmID().getParmName();
|
||||
String fitToDataPref = parmName + "_fitToDataColorTable";
|
||||
if (GFEPreference.contains(fitToDataPref)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue