Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7177

Mark everything that uses the Content API as deprecated

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • None
    • None
    • None
    • None
    • Basel 118
    • 3

    Description

      • To find usages try to use the compiler flag -deprecation
      • Validate that you don't only have Javadoc deprecated tags but annotations as well
      • Annotate as deprecated
      • Write in Javadoc that the class/method is deprecated since 5.6.

      This snippet might be of help (even though output might be verbose):

        <build>
          <pluginManagement>
            <plugins>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.3</version>
                <configuration>
                  <compilerArgs>
                    <arg>-deprecation</arg>
                  </compilerArgs>
                </configuration>
              </plugin>
            </plugins>
          </pluginManagement>
        </build>
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                pmundt Philip Mundt
                ahietala Antti Hietala
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR