Issue #590 Fix rsc so it can be recycled
Change-Id: I3cddf5d67c2e5dfb52380529f703a0d9558d8916 Former-commit-id:fbd4b64be8
[formerly798463a4cf
] [formerly78c1298085
[formerly cd52bfbeb593a4b1891f4df7f7ae73c7193504d0]] Former-commit-id:78c1298085
Former-commit-id:7be5ef8528
This commit is contained in:
parent
d2d6a4d1eb
commit
536d47dcf0
1 changed files with 6 additions and 3 deletions
|
@ -161,6 +161,7 @@ import com.vividsolutions.jts.geom.Envelope;
|
|||
* 03/01/2008 chammack Initial Creation.
|
||||
* Aug 20, 2008 dglazesk Update for the ColorMap interface change
|
||||
* Nov 23, 2011 mli set vector lineStyle
|
||||
* May 11, 2012 njensen Allow rsc to be recycled
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -369,7 +370,11 @@ public class GFEResource extends
|
|||
* @return Returns the parm associated with the GFE Resource
|
||||
*/
|
||||
public Parm getParm() {
|
||||
return this.parm;
|
||||
Parm retVal = null;
|
||||
if (this.getStatus() != ResourceStatus.DISPOSED) {
|
||||
retVal = this.parm;
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -416,8 +421,6 @@ public class GFEResource extends
|
|||
}
|
||||
|
||||
clearVectorDisplays();
|
||||
|
||||
this.parm = null;
|
||||
}
|
||||
|
||||
private void clearVectorDisplays() {
|
||||
|
|
Loading…
Add table
Reference in a new issue