Hi Julius,
urlplus has saved me some work. Thanks for writing it.
I discovered that the setProtocol method doesn't actually change 'this.' I fixed it in my copy:
public URL setProtocol(String protocol) throws IllegalArgumentException {
this.protocol = Protocol.valueOf(protocol.toLowerCase());
return this;
}
and I've added a unit test. I also fixed a couple of JavaDoc errors. Would you like me to send you my changes?
Hi Julius,
urlplus has saved me some work. Thanks for writing it.
I discovered that the setProtocol method doesn't actually change 'this.' I fixed it in my copy:
public URL setProtocol(String protocol) throws IllegalArgumentException {
this.protocol = Protocol.valueOf(protocol.toLowerCase());
return this;
}
and I've added a unit test. I also fixed a couple of JavaDoc errors. Would you like me to send you my changes?