Add TODOs for code that needs looking at

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604892 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2014-06-23 17:46:29 +00:00
parent a80b4533b3
commit 4006d7e4f2
3 changed files with 3 additions and 2 deletions

View File

@ -6049,7 +6049,7 @@ public class TestProtocolRequirements extends AbstractProtocolTest {
// received-by
if (!Pattern.matches(tokenRegexp, parts[1])) {
// host : port
new HttpHost(parts[1]);
new HttpHost(parts[1]); // TODO - unused - is this a test bug? else use Assert.assertNotNull
}
// comment

View File

@ -177,7 +177,7 @@ public class HttpAuthenticator {
final HttpContext context) throws HttpException, IOException {
AuthScheme authScheme = authState.getAuthScheme();
Credentials creds = authState.getCredentials();
switch (authState.getState()) {
switch (authState.getState()) { // TODO add UNCHALLENGED and HANDSHAKE cases
case FAILURE:
return;
case SUCCESS:

View File

@ -176,6 +176,7 @@ public class TestSSLSocketFactory {
@Test
public void testClientAuthSSLAliasChoice() throws Exception {
// TODO unused - is there a bug in the test?
final PrivateKeyStrategy aliasStrategy = new PrivateKeyStrategy() {
@Override