-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b17
-
generic
-
generic
-
Verified
This CR is simply to cleanup the style of the java.net.HttpCookie source code.
1) Remove extraneous newlines
2) Use consistent javadoc comment style
3) Fix typos in public specification, specifically:
http->HTTP, url->URL, seperated->separated, llegal->illegal
4) Where possible limit code to 80 columns
Minor implementation changes
1) Make 'name', 'assignors', and 'whenCreated', final since they are immutable
2) Remove unnecessary StringBuilder from toNetscapeHeaderString
( since it is using String concatenation )
3) Use diamond in ArrayList construction, parse()
1) Remove extraneous newlines
2) Use consistent javadoc comment style
3) Fix typos in public specification, specifically:
http->HTTP, url->URL, seperated->separated, llegal->illegal
4) Where possible limit code to 80 columns
Minor implementation changes
1) Make 'name', 'assignors', and 'whenCreated', final since they are immutable
2) Remove unnecessary StringBuilder from toNetscapeHeaderString
( since it is using String concatenation )
3) Use diamond in ArrayList construction, parse()