summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorStefan Bodewig <bodewig@apache.org>2016-12-21 20:11:13 +0100
committerStefan Bodewig <bodewig@apache.org>2016-12-21 20:11:13 +0100
commit984a03d1ceb6e4b5d194e4d639d0b0fca46d92be (patch)
tree90d540e692dbb1e53d06ce834ee845ca2d994dce /src/main
parent008f1c8be554f9ed8928fdf6596a6c6c3fa5b063 (diff)
downloadant-984a03d1ceb6e4b5d194e4d639d0b0fca46d92be.tar.gz
special paths can be final
Diffstat (limited to 'src/main')
-rw-r--r--src/main/org/apache/tools/ant/types/Path.java4
1 files 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