Skip to content
Permalink
Browse files
8278466: "spurious markup" warnings in snippets when building `docs-r…
…eference`

Reviewed-by: darcy
  • Loading branch information
jonathan-gibbons committed Dec 9, 2021
1 parent 8ef1a23 commit d1706828fb6a95ecad2bab4112b2e1a7d3319df8
Showing 2 changed files with 3 additions and 3 deletions.
@@ -82,7 +82,7 @@
* section 3.3. Informally, this should be true:
*
* {@snippet id="valid-relative-name" lang=java :
* // @link substring="create" target="URI#create" : @link substring=normalize target="URI#normalize" : @link substring=getPath target="URI#getPath" :
* // @link substring="create" target="URI#create" @link substring=normalize target="URI#normalize" @link substring=getPath target="URI#getPath" :
* URI.create(relativeName).normalize().getPath().equals(relativeName)
* }
*
@@ -76,7 +76,7 @@
* must succeed if the following would succeed (ignoring
* encoding issues):
* {@snippet id="equiv-input" lang=java :
* // @link substring=FileInputStream target="java.io.FileInputStream#FileInputStream(File)" : @link regex="File\W" target="File#File(java.net.URI)" : @link substring=fileObject target=FileObject : @link substring=toURI target="FileObject#toUri()" :
* // @link substring=FileInputStream target="java.io.FileInputStream#FileInputStream(File)" @link regex="File\b" target="File#File(java.net.URI)" @link substring=fileObject target=FileObject @link substring=toURI target="FileObject#toUri()" :
* new FileInputStream(new File(fileObject.toURI()))
* }
* </li>
@@ -87,7 +87,7 @@
* succeed if the following would succeed (ignoring encoding
* issues):
* {@snippet id="equiv-output" lang=java :
* // @link substring=FileOutputStream target="java.io.FileOutputStream#FileOutputStream(File)" : @link regex="File\W" target="File#File(java.net.URI)" : @link substring=fileObject target=FileObject : @link substring=toURI target="FileObject#toUri()" :
* // @link substring=FileOutputStream target="java.io.FileOutputStream#FileOutputStream(File)" @link regex="File\b" target="File#File(java.net.URI)" @link substring=fileObject target=FileObject @link substring=toURI target="FileObject#toUri()" :
* new FileOutputStream(new File(fileObject.toURI()))
* }
* </li>

1 comment on commit d170682

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on d170682 Dec 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.