示例#1
0
 private void maybeCache()
 {
     Object obj = Internal.instance.internalCache(client);
     if (obj != null)
     {
         if (!CacheStrategy.isCacheable(userResponse, networkRequest))
         {
             if (HttpMethod.invalidatesCache(networkRequest.method()))
             {
                 try
                 {
                     ((InternalCache) (obj)).remove(networkRequest);
                     return;
                 }
                 // Misplaced declaration of an exception variable
                 catch (Object obj)
                 {
                     return;
                 }
             }
         } else
         {
             storeRequest = ((InternalCache) (obj)).put(stripBody(userResponse));
             return;
         }
     }
 }