Vivek504 opened a new pull request, #170:
URL: https://github.com/apache/pdfbox/pull/170

   ### Introduce Explaining Variable Refactoring
   
   **Reason:** Long Statement
   
   1. The length of the statement "final MethodHandle 
nonNullTest=lookup.findStatic(Objects.class,"nonNull",methodType(boolean.class,Object.class)).asType(methodType(boolean.class,cleanerClass));"
 is 160.
   2. The length of the statement "final MethodHandle 
unmapper=filterReturnValue(directBufferCleanerMethod,guardWithTest(nonNullTest,cleanMethod,noop)).asType(methodType(void.class,ByteBuffer.class));"
 is 165.
   
   **Logic of the refactoring:** Complicated expressions are replaced by 
explaining variables.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to