File tree Expand file tree Collapse file tree
src/main/java/org/jruby/ext/openssl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,15 +80,15 @@ public class SSLSocket extends RubyObject {
8080
8181 private static final long serialVersionUID = -2084816623554406237L ;
8282
83- private static ObjectAllocator SSLSOCKET_ALLOCATOR = new ObjectAllocator () {
83+ private static final ObjectAllocator ALLOCATOR = new ObjectAllocator () {
8484 public IRubyObject allocate (Ruby runtime , RubyClass klass ) {
8585 return new SSLSocket (runtime , klass );
8686 }
8787 };
8888
8989 public static void createSSLSocket (final Ruby runtime , final RubyModule SSL ) { // OpenSSL::SSL
9090 final ThreadContext context = runtime .getCurrentContext ();
91- RubyClass SSLSocket = SSL .defineClassUnder ("SSLSocket" , runtime .getObject (), SSLSOCKET_ALLOCATOR );
91+ RubyClass SSLSocket = SSL .defineClassUnder ("SSLSocket" , runtime .getObject (), ALLOCATOR );
9292 // SSLSocket.addReadAttribute(context, "io");
9393 // SSLSocket.defineAlias("to_io", "io");
9494 // SSLSocket.addReadAttribute(context, "context");
You can’t perform that action at this time.
0 commit comments