Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2409

Invalid cast being performed in BlobStoreFixture

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.5
    • run
    • None

    Description

      Following issue found by Sonar [1] Impossible cast from org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore to org.apache.jackrabbit.oak.plugins.blob.cloud.CloudBlobStore in org.apache.jackrabbit.oak.fixture.BlobStoreFixture$4.tearDown()

                  @Override
                  public void tearDown() {
                      if (blobStore instanceof CloudBlobStore) {
                          ((CloudBlobStore) blobStore).deleteBucket();
      

      [1] https://analysis.apache.org/drilldown/issues/113395?&rule=findbugs%3ABC_IMPOSSIBLE_CAST&rule_sev=BLOCKER#

      Attachments

        Activity

          People

            chetanm Chetan Mehrotra
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: