| public static final String USER_DIRECTORY = System.getProperty( "user.dir" ); | ||
| + /** | ||
| + * Default path to use for an untitled (pathless) file. | ||
| + */ | ||
| public static final Path DEFAULT_DIRECTORY = Paths.get( USER_DIRECTORY ); | ||
| } | ||
| - // you can also set/clear/modify attributes through | ||
| - // ResolvedLink.getAttributes() and | ||
| - // ResolvedLink.getNonNullAttributes() | ||
| + /** | ||
| + * You can also set/clear/modify attributes through | ||
| + * {@link ResolvedLink#getAttributes()} and | ||
| + * {@link ResolvedLink#getNonNullAttributes()}. | ||
| + */ | ||
| @NotNull | ||
| @Override | ||
| public ResolvedLink resolveLink( | ||
| @NotNull final Node node, | ||
| @NotNull final LinkResolverBasicContext context, | ||
| @NotNull final ResolvedLink link ) { | ||
| return node instanceof Image ? resolve( link ) : link; | ||
| } | ||
| - @NotNull | ||
| - private ResolvedLink resolve( @NotNull final ResolvedLink link ) { | ||
| + private ResolvedLink resolve( final ResolvedLink link ) { | ||
| String url = link.getUrl(); | ||
| import com.vladsch.flexmark.util.misc.Extension; | ||
| -import javax.validation.constraints.NotNull; | ||
| import java.nio.file.Path; | ||
| import java.util.ArrayList; | ||
| */ | ||
| public MarkdownProcessor( | ||
| - final Processor<String> successor, @NotNull final Path path ) { | ||
| + final Processor<String> successor, final Path path ) { | ||
| super( successor ); | ||
| Author | DaveJarvis <email> |
|---|---|
| Date | 2020-07-02 18:13:21 GMT-0700 |
| Commit | be31fe69cd4053dc0316184e2c05906910464933 |
| Parent | 21ab0c7 |
| Delta | 10 lines added, 7 lines removed, 3-line increase |