James Moger
2012-01-05 cb285cbfddfc0b633d6b8cdb4dc0d2bd2b8b51ef
src/com/gitblit/utils/JsonUtils.java
@@ -108,6 +108,19 @@
         UnauthorizedException {
      return retrieveJson(url, type, null, null);
   }
   /**
    * Reads a gson object from the specified url.
    *
    * @param url
    * @param type
    * @return the deserialized object
    * @throws {@link IOException}
    */
   public static <X> X retrieveJson(String url, Class<? extends X> clazz) throws IOException,
         UnauthorizedException {
      return retrieveJson(url, clazz, null, null);
   }
   /**
    * Reads a gson object from the specified url.