Should we refactor this by extrating to another method e.g.
```
String fileName= getFileKey(url);
private static String getFileKey(URL url) {
String defaultFile = System.getProperty("user.home") +
"/.dubbo/dubbo-registry-" + url.getParameter(Constants.APPLICATION_KEY) + "-" +
url.getAddress() + ".cache";
return url.getParameter(Constants.FILE_KEY, defaultFile);
}
```
Do you feel it would help us to increase the readability of code?
[ Full content available at:
https://github.com/apache/incubator-dubbo/pull/3156 ]
This message was relayed via gitbox.apache.org for
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]