No effective change - remove unused assignment

This commit is contained in:
Robin Bygrave
2015-08-01 21:07:57 +12:00
parent 8005ef8432
commit 6e5e5fb666
8 changed files with 9 additions and 9 deletions
@@ -512,7 +512,7 @@ public class StringHelper {
sb.append(source.substring(0, startPos));
}
int matchCount = 0;
int matchCount;
for (int i = startPos; i < len; i++) {
sourceChar = source.charAt(i);
@@ -108,7 +108,7 @@ public class TunedQueryInfo implements Serializable {
return false;
}
boolean tuned = false;
boolean tuned;
//Note: tunedDetail is immutable by convention
if (query.isDetailEmpty()) {
tuned = true;
@@ -37,7 +37,7 @@ public class McastSender {
this.port = port;
this.inetAddress = InetAddress.getByName(address);
InetAddress sendInetAddress = null;
InetAddress sendInetAddress;
if (sendAddress != null) {
sendInetAddress = InetAddress.getByName(sendAddress);
} else {
@@ -51,7 +51,7 @@ public class OutgoingPacketsAcked {
synchronized (this) {
boolean checkMin = false;
boolean checkMin;
GroupMemberAck groupMemberAck = recievedByMap.get(groupMember);
if (groupMemberAck == null) {
@@ -74,8 +74,8 @@ public final class DRawSqlSelectColumnsParser {
if (lastSpace > -1) {
secLastSpace = colInfo.lastIndexOf(' ', lastSpace - 1);
}
String colName = null;
String colLabel = null;
String colName;
String colLabel;
if (lastSpace == -1) {
// no column alias
colName = colInfo;
@@ -106,7 +106,7 @@ public class DeployOrmXml {
private void readOrmXml(String ormXmlName, ArrayList<Dnode> ormXmlList) {
try {
Dnode ormXml = null;
Dnode ormXml;
ResourceContent content = resSource.getContent(ormXmlName);
if (content != null) {
// servlet resource or file system...
@@ -150,7 +150,7 @@ public class InheritInfo {
*/
public BeanProperty findSubTypeProperty(String propertyName) {
BeanProperty prop = null;
BeanProperty prop;
for (int i = 0, x = children.size(); i < x; i++) {
InheritInfo childInfo = children.get(i);
@@ -175,7 +175,7 @@ public class ClassPathSearch implements ClassPathSearchService {
private ClassPathElement getClassPathElement(Object classPathEntry) throws MalformedURLException {
URL fileUrl = null;
URL fileUrl;
if (URI.class.isInstance(classPathEntry)) {
fileUrl = ((URI) classPathEntry).toURL();