[MAGNOLIA-7177] Mark everything that uses the Content API as deprecated Created: 12/Oct/17  Updated: 20/Oct/17  Resolved: 19/Oct/17

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Antti Hietala Assignee: Philip Mundt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MAGNOLIA-7093 Remove uses of the Content API Closed
relates to MAGNOLIA-7183 CoreModuleVersionHandler uses depreca... Open
relates to MAGNOLIA-7137 AbstractConditionalRepositoryTask, Re... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Remove Content API
Sprint: Basel 118
Story Points: 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>

Generated at Mon Feb 12 04:21:26 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.