Skip to content

Commit ed4b92f

Browse files
committed
Add the 'final' modifier to a few private fields.
1 parent ec9c487 commit ed4b92f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/io/sf/carte/doc/agent/net/DefaultUserAgent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
*/
5151
public class DefaultUserAgent extends AbstractUserAgent {
5252

53-
private CSSDOMImplementation domImpl;
53+
private final CSSDOMImplementation domImpl;
5454
private EntityResolver resolver = createEntityResolver();
5555

5656
protected DefaultUserAgent(EnumSet<Parser2.Flag> parserFlags, boolean setDefaultSheet) {

src/io/sf/carte/doc/agent/net/ResourceDownloader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*/
3737
abstract public class ResourceDownloader<C> extends Thread {
3838

39-
private URL url;
39+
private final URL url;
4040
protected C nativeContent = null;
4141
protected List<DownloadListener<C>> listeners = new LinkedList<DownloadListener<C>>();
4242
private String contentType = null;

0 commit comments

Comments
 (0)