-
Type:
Enhancement
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: client-libs
-
os_x
The SDRenderType enum is often returned using a variable declared at the start of functions. These can be inlined in the return itself. Using a ternary operator condenses what may be 12 lines into one, in the most extreme cases. doRectUsingCG and doPolyUsingCG were both modified more than the rest, but still are equivalent.
- links to
-
Review
openjdk/jdk/10174