Skip to content

Commit c3487dd

Browse files
lrytzretronym
authored andcommitted
[asm-cherry-pick] Fix typos
Fix typos. Originally added in lrytz/scala@e1fbc7f This change was initially part of scala/scala@549dc88
1 parent 1e70eda commit c3487dd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/java/scala/tools/asm/tree/analysis/Interpreter.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ protected Interpreter(final int api) {
8585
*
8686
* @param insn the bytecode instruction to be interpreted.
8787
* @return the result of the interpretation of the given instruction.
88-
* @throws AnalyzerException if an error occured during the interpretation.
88+
* @throws AnalyzerException if an error occurred during the interpretation.
8989
*/
9090
public abstract V newOperation(AbstractInsnNode insn) throws AnalyzerException;
9191

@@ -100,7 +100,7 @@ protected Interpreter(final int api) {
100100
* @param value the value that must be moved by the instruction.
101101
* @return the result of the interpretation of the given instruction. The returned value must be
102102
* <tt>equal</tt> to the given value.
103-
* @throws AnalyzerException if an error occured during the interpretation.
103+
* @throws AnalyzerException if an error occurred during the interpretation.
104104
*/
105105
public abstract V copyOperation(AbstractInsnNode insn, V value) throws AnalyzerException;
106106

@@ -116,7 +116,7 @@ protected Interpreter(final int api) {
116116
* @param insn the bytecode instruction to be interpreted.
117117
* @param value the argument of the instruction to be interpreted.
118118
* @return the result of the interpretation of the given instruction.
119-
* @throws AnalyzerException if an error occured during the interpretation.
119+
* @throws AnalyzerException if an error occurred during the interpretation.
120120
*/
121121
public abstract V unaryOperation(AbstractInsnNode insn, V value) throws AnalyzerException;
122122

@@ -134,7 +134,7 @@ protected Interpreter(final int api) {
134134
* @param value1 the first argument of the instruction to be interpreted.
135135
* @param value2 the second argument of the instruction to be interpreted.
136136
* @return the result of the interpretation of the given instruction.
137-
* @throws AnalyzerException if an error occured during the interpretation.
137+
* @throws AnalyzerException if an error occurred during the interpretation.
138138
*/
139139
public abstract V binaryOperation(AbstractInsnNode insn, V value1, V value2)
140140
throws AnalyzerException;
@@ -150,7 +150,7 @@ public abstract V binaryOperation(AbstractInsnNode insn, V value1, V value2)
150150
* @param value2 the second argument of the instruction to be interpreted.
151151
* @param value3 the third argument of the instruction to be interpreted.
152152
* @return the result of the interpretation of the given instruction.
153-
* @throws AnalyzerException if an error occured during the interpretation.
153+
* @throws AnalyzerException if an error occurred during the interpretation.
154154
*/
155155
public abstract V ternaryOperation(AbstractInsnNode insn, V value1, V value2, V value3)
156156
throws AnalyzerException;
@@ -165,7 +165,7 @@ public abstract V ternaryOperation(AbstractInsnNode insn, V value1, V value2, V
165165
* @param insn the bytecode instruction to be interpreted.
166166
* @param values the arguments of the instruction to be interpreted.
167167
* @return the result of the interpretation of the given instruction.
168-
* @throws AnalyzerException if an error occured during the interpretation.
168+
* @throws AnalyzerException if an error occurred during the interpretation.
169169
*/
170170
public abstract V naryOperation(AbstractInsnNode insn, List<? extends V> values)
171171
throws AnalyzerException;
@@ -178,7 +178,7 @@ public abstract V naryOperation(AbstractInsnNode insn, List<? extends V> values)
178178
* @param insn the bytecode instruction to be interpreted.
179179
* @param value the argument of the instruction to be interpreted.
180180
* @param expected the expected return type of the analyzed method.
181-
* @throws AnalyzerException if an error occured during the interpretation.
181+
* @throws AnalyzerException if an error occurred during the interpretation.
182182
*/
183183
public abstract void returnOperation(AbstractInsnNode insn, V value, V expected)
184184
throws AnalyzerException;

0 commit comments

Comments
 (0)