Skip to content

Commit 0f84c3d

Browse files
committed
fix javadoc
1 parent 057771a commit 0f84c3d

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

glsl-preprocessor/src/main/java/org/anarres/cpp/Preprocessor.java

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ public Macro getMacro(@NonNull String name) {
383383
* included by this Preprocessor.
384384
*
385385
* This does not include any {@link Source} provided to the constructor
386-
* or {@link #addInput(java.io.File)} or {@link #addInput(Source)}.
386+
* or {@link #addInput(Source)}.
387387
*/
388388
@NonNull
389389
public List<? extends VirtualFile> getIncludes() {
@@ -451,7 +451,6 @@ protected void push_source(@NonNull Source source, boolean autopop) {
451451
* @see #push_source(Source,boolean)
452452
*
453453
* @param linemarker TODO: currently ignored, might be a bug?
454-
* @throws IOException if an I/O error occurs.
455454
*/
456455
@CheckForNull
457456
protected Token pop_source(boolean linemarker) {
@@ -1023,7 +1022,6 @@ private Token undef() {
10231022
*
10241023
* @param file The VirtualFile to attempt to include.
10251024
* @return true if the file was successfully included, false otherwise.
1026-
* @throws IOException if an I/O error occurs.
10271025
*/
10281026
protected boolean include(@NonNull VirtualFile file) {
10291027
// System.out.println("Try to include " + ((File)file).getAbsolutePath());
@@ -1042,7 +1040,6 @@ protected boolean include(@NonNull VirtualFile file) {
10421040
* @param path The list of virtual directories to search for the given name.
10431041
* @param name The name of the file to attempt to include.
10441042
* @return true if the file was successfully included, false otherwise.
1045-
* @throws IOException if an I/O error occurs.
10461043
*/
10471044
protected boolean include(@NonNull Iterable<String> path, @NonNull String name) {
10481045
for (String dir : path) {
@@ -1055,9 +1052,6 @@ protected boolean include(@NonNull Iterable<String> path, @NonNull String name)
10551052

10561053
/**
10571054
* Handles an include directive.
1058-
*
1059-
* @throws IOException if an I/O error occurs.
1060-
* @throws LexerException if the include fails, and the error handler is fatal.
10611055
*/
10621056
private void include(
10631057
@CheckForNull String parent, int line,
@@ -1957,9 +1951,6 @@ private Token token_nonwhite() {
19571951
*
19581952
* @see Token
19591953
* @return The next fully preprocessed token.
1960-
* @throws IOException if an I/O error occurs.
1961-
* @throws LexerException if a preprocessing error occurs.
1962-
* @throws InternalException if an unexpected error condition arises.
19631954
*/
19641955
@NonNull
19651956
public Token token() {

glsl-preprocessor/src/main/java/org/anarres/cpp/Source.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,6 @@ public void setListener(PreprocessorListener pl) {
124124

125125
/**
126126
* Returns the File currently being lexed.
127-
*
128-
* If this Source is not a {@link FileLexerSource}, then
129-
* it will ask the parent Source, and so forth recursively.
130-
* If no Source on the stack is a FileLexerSource, returns null.
131127
*/
132128
@CheckForNull
133129
public String getPath() {

0 commit comments

Comments
 (0)