File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/jruby/ext/openssl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,15 +80,15 @@ public class SSLSocket extends RubyObject {
80
80
81
81
private static final long serialVersionUID = -2084816623554406237L ;
82
82
83
- private static ObjectAllocator SSLSOCKET_ALLOCATOR = new ObjectAllocator () {
83
+ private static final ObjectAllocator ALLOCATOR = new ObjectAllocator () {
84
84
public IRubyObject allocate (Ruby runtime , RubyClass klass ) {
85
85
return new SSLSocket (runtime , klass );
86
86
}
87
87
};
88
88
89
89
public static void createSSLSocket (final Ruby runtime , final RubyModule SSL ) { // OpenSSL::SSL
90
90
final ThreadContext context = runtime .getCurrentContext ();
91
- RubyClass SSLSocket = SSL .defineClassUnder ("SSLSocket" , runtime .getObject (), SSLSOCKET_ALLOCATOR );
91
+ RubyClass SSLSocket = SSL .defineClassUnder ("SSLSocket" , runtime .getObject (), ALLOCATOR );
92
92
// SSLSocket.addReadAttribute(context, "io");
93
93
// SSLSocket.defineAlias("to_io", "io");
94
94
// SSLSocket.addReadAttribute(context, "context");
You can’t perform that action at this time.
0 commit comments