Statement unnecessarily nested within else clause.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1606058 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2014-06-27 12:30:51 +00:00
parent 0ef747156b
commit 38334883a6
1 changed files with 34 additions and 49 deletions

View File

@ -308,63 +308,48 @@ public class Conversion {
if (src.length > srcPos + 1 && src[srcPos + 1]) {
if (src[srcPos]) {
return 'f';
} else {
}
return 'e';
}
} else {
if (src[srcPos]) {
return 'd';
} else {
}
return 'c';
}
}
} else {
if (src.length > srcPos + 1 && src[srcPos + 1]) {
if (src[srcPos]) {
return 'b';
} else {
}
return 'a';
}
} else {
if (src[srcPos]) {
return '9';
} else {
}
return '8';
}
}
}
} else {
if (src.length > srcPos + 2 && src[srcPos + 2]) {
if (src.length > srcPos + 1 && src[srcPos + 1]) {
if (src[srcPos]) {
return '7';
} else {
}
return '6';
}
} else {
if (src[srcPos]) {
return '5';
} else {
}
return '4';
}
}
} else {
if (src.length > srcPos + 1 && src[srcPos + 1]) {
if (src[srcPos]) {
return '3';
} else {
}
return '2';
}
} else {
if (src[srcPos]) {
return '1';
} else {
}
return '0';
}
}
}
}
}
/**
* <p>