Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Operating System: other
Platform: Other
-
37390
Description
private boolean addResourceStore(final ResourceStore pStore) {
boolean success = true;
try
catch ( Exception e )
{ success = false; } return success;
}
private boolean removeResourceStore(final ResourceStore pStore) {
boolean success = true;
try {
final int n = stores.length;
int i = 0;
//find the pStore and index position with var i
while ( ( i <= n ) && ( stores[i] != pStore ) )
//pStore was not found
if ( i == n )
// if stores length > 1 then array copy old values, else create new
empty store
if ( n > 1 )
else
{ stores = new ResourceStore[0]; }} catch ( Exception e )
{ success = false; } return success;
}