No effective change - add final modifier

This commit is contained in:
Robin Bygrave committed 2015-07-31 14:07:09 +12:00
1 parent 90886193c0
commit 831d2a6179
24 files changed
+34 -39

No files matched your search

@@ -11,12 +11,7 @@ import java.util.Date;
*/
public class UrlResourceContent implements ResourceContent {
/**
* The underlying resource.
*/
//URL url;
String entryName;
final String entryName;
URLConnection con;
@@ -156,7 +156,7 @@ public class PooledConnection extends ConnectionDelegator {
*/
private StackTraceElement[] stackTrace;
private int maxStackTrace;
private final int maxStackTrace;
/**
* Slot position in the BusyConnectionBuffer.
@@ -21,11 +21,11 @@ public class SimpleDataSourceAlert implements DataSourceAlert, MailListener {
private static final Logger logger = LoggerFactory.getLogger(SimpleDataSourceAlert.class);
private static String alertMailServerName = System.getProperty("ebean.datasource.alert.mailserver");
private static final String alertMailServerName = System.getProperty("ebean.datasource.alert.mailserver");
private static String fromUser = System.getProperty("ebean.datasource.alert.fromUser");
private static String fromEmail = System.getProperty("ebean.datasource.alert.fromEmail");
private static String toEmail = System.getProperty("ebean.datasource.alert.toEmail");
private static final String fromUser = System.getProperty("ebean.datasource.alert.fromUser");
private static final String fromEmail = System.getProperty("ebean.datasource.alert.fromEmail");
private static final String toEmail = System.getProperty("ebean.datasource.alert.toEmail");
/**
* Create a SimpleAlerter.