static synchronized void initialize(@NonNull StoroBuilder builder){
  try {
    File dir=new File(builder.cacheDir,"storo");
    if (!dir.exists() && !dir.mkdir()) {
      throw new IOException("Cache folder could not be created.");
    }
    mCache=SimpleDiskCache.open(dir,1,builder.maxSize);
    mGson=builder.gson;
    mInitialized=true;
  }
 catch (  Exception e) {
    throw new RuntimeException("Storo instance could not be initialized!",e);
  }
}

static synchronized void initialize ( @ NonNull StoroBuilder builder ) { try { File dir = new File ( builder . cacheDir , "storo" ) ; if ( ! dir . exists ( ) && ! dir . mkdir ( ) ) { throw new IOException ( "Cache folder could not be created." ) ; } mCache = SimpleDiskCache . open ( dir , 1 , builder . maxSize ) ; mGson = builder . gson ; mInitialized = true ; } catch ( Exception e ) { throw new RuntimeException ( "Storo instance could not be initialized!" , e ) ; } }
initializes the storo instance
