Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-900

Fix deprecation warnings emanating from Hadoop

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 1.5
    • ManifoldCF 1.6
    • HDFS connector
    • None

    Description

      Specifically,

          [javac] C:\wip\mcf\trunk\connectors\hdfs\connector\src\main\java\org\apache\manifoldcf\crawler\connectors\hdfs\HDFSRepositoryConnector.java:316: warning: [deprecation] isDir() in FileStatus has been deprecated
          [javac]         if (fileStatus.isDir()) {
          [javac]                       ^
          [javac] C:\wip\mcf\trunk\connectors\hdfs\connector\src\main\java\org\apache\manifoldcf\crawler\connectors\hdfs\HDFSRepositoryConnector.java:352: warning: [deprecation] isDir() in FileStatus has been deprecated
          [javac]         if (fileStatus.isDir()) {
          [javac]                       ^
          [javac] C:\wip\mcf\trunk\connectors\hdfs\connector\src\main\java\org\apache\manifoldcf\crawler\connectors\hdfs\HDFSRepositoryConnector.java:416: warning: [deprecation] isDir() in FileStatus has been deprecated
          [javac]       if (fileStatus.isDir()) {
          [javac]                     ^
          [javac] C:\wip\mcf\trunk\connectors\hdfs\connector\src\main\java\org\apache\manifoldcf\crawler\connectors\hdfs\HDFSRepositoryConnector.java:1434: warning: [deprecation] isDir() in FileStatus has been deprecated
          [javac]     if (fileStatus.isDir())
          [javac]                   ^
      

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            kwright@metacarta.com Karl Wright
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: