mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - remove unused assignment
This commit is contained in:
@@ -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 {
|
||||
|
||||
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user