mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - add final modifier
This commit is contained in:
1 parent
deed0bb01d
commit
90886193c0
42 files changed
+75
-81
No files matched your search
@@ -27,7 +27,7 @@ public class Dnode {
|
||||
|
||||
ArrayList<Dnode> children;
|
||||
|
||||
LinkedHashMap<String, String> attrList = new LinkedHashMap<String, String>();
|
||||
final LinkedHashMap<String, String> attrList = new LinkedHashMap<String, String>();
|
||||
|
||||
/**
|
||||
* Create a node.
|
||||
|
||||
@@ -29,7 +29,7 @@ public class DnodeParser extends DefaultHandler {
|
||||
/**
|
||||
* Used to stack the nodes.
|
||||
*/
|
||||
Stack<Dnode> stack = new Stack<Dnode>();
|
||||
final Stack<Dnode> stack = new Stack<Dnode>();
|
||||
|
||||
/**
|
||||
* The class used to construct new nodes. Should be Dnode or a subtype of
|
||||
|
||||
@@ -5,10 +5,10 @@ package com.avaje.ebeaninternal.server.lib.util;
|
||||
*/
|
||||
public class MailAddress {
|
||||
|
||||
|
||||
String alias;
|
||||
|
||||
String emailAddress;
|
||||
|
||||
final String alias;
|
||||
|
||||
final String emailAddress;
|
||||
|
||||
/**
|
||||
* Create an address with an optional alias.
|
||||
|
||||
@@ -9,12 +9,12 @@ public class MailEvent {
|
||||
/**
|
||||
* The error indicating a send failure.
|
||||
*/
|
||||
Throwable error;
|
||||
final Throwable error;
|
||||
|
||||
/**
|
||||
* The message that was sent.
|
||||
*/
|
||||
MailMessage message;
|
||||
final MailMessage message;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -10,16 +10,11 @@ import java.util.List;
|
||||
* A simple test message that can be sent via smtp.
|
||||
*/
|
||||
public class MailMessage {
|
||||
|
||||
// /**
|
||||
// * The subject text.
|
||||
// */
|
||||
// String subject;
|
||||
|
||||
/**
|
||||
* The body content.
|
||||
*/
|
||||
ArrayList<String> bodylines;
|
||||
final ArrayList<String> bodylines;
|
||||
|
||||
/**
|
||||
* The sender email address.
|
||||
@@ -29,7 +24,7 @@ public class MailMessage {
|
||||
/**
|
||||
* The headers.
|
||||
*/
|
||||
HashMap<String,String> header = new HashMap<String, String>();
|
||||
final HashMap<String,String> header = new HashMap<String, String>();
|
||||
|
||||
/**
|
||||
* the recipient of the email.
|
||||
@@ -39,7 +34,7 @@ public class MailMessage {
|
||||
/**
|
||||
* The list of recipients.
|
||||
*/
|
||||
ArrayList<MailAddress> recipientList = new ArrayList<MailAddress>();
|
||||
final ArrayList<MailAddress> recipientList = new ArrayList<MailAddress>();
|
||||
|
||||
/**
|
||||
* Create the message.
|
||||
|
||||
@@ -21,7 +21,7 @@ public class MailSender implements Runnable {
|
||||
int traceLevel = 0;
|
||||
|
||||
Socket sserver;
|
||||
String server;
|
||||
final String server;
|
||||
|
||||
BufferedReader in;
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ import java.util.LinkedHashMap;
|
||||
* Utility String class that supports String manipulation functions.
|
||||
*/
|
||||
public class MapFromString {
|
||||
|
||||
LinkedHashMap<String,String> map = new LinkedHashMap<String,String>();
|
||||
|
||||
final LinkedHashMap<String,String> map = new LinkedHashMap<String,String>();
|
||||
|
||||
String mapToString;
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ public class MimeTypeHelper {
|
||||
|
||||
}
|
||||
|
||||
private static ResourceBundle resources = ResourceBundle.getBundle("com.avaje.lib.util.mimetypes");
|
||||
private static final ResourceBundle resources = ResourceBundle.getBundle("com.avaje.lib.util.mimetypes");
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user