From 984a03d1ceb6e4b5d194e4d639d0b0fca46d92be Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Wed, 21 Dec 2016 20:11:13 +0100 Subject: [PATCH] special paths can be final --- src/main/org/apache/tools/ant/types/Path.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/types/Path.java b/src/main/org/apache/tools/ant/types/Path.java index db6f5e9f6..c4f244c74 100644 --- a/src/main/org/apache/tools/ant/types/Path.java +++ b/src/main/org/apache/tools/ant/types/Path.java @@ -67,7 +67,7 @@ public class Path extends DataType implements Cloneable, ResourceCollection { // CheckStyle:VisibilityModifier OFF - bc /** The system classpath as a Path object */ - public static Path systemClasspath = + public static final Path systemClasspath = new Path(null, System.getProperty("java.class.path")); @@ -76,7 +76,7 @@ public class Path extends DataType implements Cloneable, ResourceCollection { * * @since Ant 1.6.2 */ - public static Path systemBootClasspath = + public static final Path systemBootClasspath = new Path(null, System.getProperty("sun.boot.class.path")); // CheckStyle:VisibilityModifier OFF - bc