code: public static StorageUri stripURIQueryAndFragment(final StorageUri inUri) throws StorageException {
          return new StorageUri(stripSingleURIQueryAndFragment(inUri.getPrimaryUri()),
                  stripSingleURIQueryAndFragment(inUri.getSecondaryUri()));
      }
docs: Strips the Query and Fragment from the uri.
  
  @param inUri
  the uri to alter
  @return the stripped uri.
  @throws StorageException