private void checkConsistency(StorageInfo remote, StorageInfo local,
      boolean image, Object name) throws IOException {
    if (!remote.equals(local)) {
      throwIOException("Remote " + (image ? "image" : "edits")
          + " storage is different than local. Local: ("
          + local.toColonSeparatedString() + "), remote: " + name.toString()
          + " (" + remote.toColonSeparatedString() + ")");
    }
  }
private void checkConsistency ( StorageInfo remote , StorageInfo local , boolean image , Object name ) throws IOException { if ( ! remote . equals ( local ) ) { throwIOException ( "Remote " + ( image ? "image" : "edits" ) + " storage is different than local. Local: (" + local . toColonSeparatedString ( ) + "), remote: " + name . toString ( ) + " (" + remote . toColonSeparatedString ( ) + ")" ) ; } }
Check if the remote image/journal storage info is the same as ours