code: @Override
    public HTableDescriptor[] disableTables(Pattern pattern) throws IOException {
      HTableDescriptor[] tableDescriptors = listTables(pattern);
      for (HTableDescriptor descriptor : tableDescriptors) {
        disableTable(descriptor.getTableName());
      }
      return tableDescriptors;
    }
docs: {@inheritDoc}