View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.imports.unusedimports;
2   
3   import java.net.ResponseCache;
4   import java.util.List;
5   
6   public class InputUnusedImportsWithNewlinesInsideTags {
7   
8       /**
9        * This javadoc demonstrates issue #2840.
10       * <p/>
11       * An inline tag references {@link ResponseCache#getDefault
12       * ResponseCache.getDefault} and is split across two lines.
13       */
14      public static void linkClassAndDescriptionSplitAcrossTwoLines() {
15          // do nothing
16      }
17  
18      /**
19       * This javadoc demonstrates issue #359.
20       * <p/>
21       * An inline tag references {@link
22       * List} but the class name is on
23       * a different line than the tag name.
24       */
25      public static void linkAndClassnameSplitAcrossTwoLines() {
26          // do nothing
27      }
28  }