Skip to content

Commit 27e7a9d

Browse files
authored
Fix two typos in javadoc (#9468)
1 parent 2876b90 commit 27e7a9d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

core/src/main/java/org/jruby/runtime/ivars/VariableAccessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public IRubyObject getOrNil(Object object, ThreadContext context) {
146146

147147
/**
148148
* Retrieve the variable's value from the given object. This version is
149-
* static, allowing it to be more direct, and accepts nnly with
149+
* static, allowing it to be more direct, and accepts only
150150
* RubyBasicObject and subclasses along with the direct index of the
151151
* variable.
152152
*

core/src/main/java/org/jruby/runtime/ivars/VariableTableManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
import static org.jruby.util.StringSupport.EMPTY_STRING_ARRAY;
5555

5656
/**
57-
* This class encapculates all logic relating to the management of instance
57+
* This class encapsulates all logic relating to the management of instance
5858
* variable tables in RubyBasicObject instances.
5959
*
6060
* The logic originally lived in both RubyBasicObject and RubyClass, tightly

0 commit comments

Comments
 (0)