23 ms·
Wait, how is the code in the first link passing definite assignment analysis checks for `params`? The Java compiler is intentionally very restrictive about this
by quelltext 8y ago
Wait, how is the code in the first link passing definite assignment analysis checks for `params`? The Java compiler is intentionally very restrictive about this (even if by means of more elaborate analysis definite assignment could be proven).
- quelltext 8y agoMy hunch is that it doesn't, so the fix was actually wrong. The file here has the necessary initialization for params for this to work: https://github.com/GeoWebCache/geowebcache/blob/master/geowebcache/core/src/main/java/org/geowebcache/layer/wms/WMSHttpHelper.java https://github.com/GeoWebCache/geowebcache/blob/master/geowe...