private static void checkArr()

in java/remoteprovisioning/CborUtil.java [268:279]


  private static void checkArr(CBORObject arr, String semanticName) throws CborException {
    if (arr == null) {
      throwNullException(semanticName);
    }
    if (arr.getType() != CBORType.Array) {
      throw new CborException(
          semanticName + " has the wrong type.",
          CBORType.Array,
          arr.getType(),
          CborException.TYPE_MISMATCH);
    }
  }