static void releaseContext(SeaGlassContext context){
synchronized (contextMap) {
    List instances=(List)contextMap.get(context.getClass());
    if (instances == null) {
      instances=new ArrayList(5);
      contextMap.put(context.getClass(),instances);
    }
    instances.add(context);
  }
}

static void releaseContext ( SeaGlassContext context ) { synchronized ( contextMap ) { List instances = ( List ) contextMap . get ( context . getClass ( ) ) ; if ( instances == null ) { instances = new ArrayList ( 5 ) ; contextMap . put ( context . getClass ( ) , instances ) ; } instances . add ( context ) ; } }
release a context for re - use .
