8278516: Typos in snippet for java.compiler
Reviewed-by: darcy
This commit is contained in:
parent
6dae52f8e3
commit
918b3505e1
@ -76,8 +76,8 @@ import java.util.List;
|
||||
* 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\b" target="File#File(java.net.URI)" @link substring=fileObject target=FileObject @link substring=toURI target="FileObject#toUri()" :
|
||||
* new FileInputStream(new File(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>
|
||||
* <li>
|
||||
@ -87,8 +87,8 @@ import java.util.List;
|
||||
* 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\b" target="File#File(java.net.URI)" @link substring=fileObject target=FileObject @link substring=toURI target="FileObject#toUri()" :
|
||||
* new FileOutputStream(new File(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>
|
||||
* </ul>
|
||||
|
Loading…
Reference in New Issue
Block a user