From 961daf412a70dc40885a1ec74dd5d81c373ffe2f Mon Sep 17 00:00:00 2001 From: Stephane Bailliez Date: Sat, 26 Jan 2002 19:29:04 +0000 Subject: [PATCH] Fix unecessary cast git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270899 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/Replace.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/Replace.java b/src/main/org/apache/tools/ant/taskdefs/Replace.java index 8980e3993..d98431064 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Replace.java +++ b/src/main/org/apache/tools/ant/taskdefs/Replace.java @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2000-2001 The Apache Software Foundation. All rights + * Copyright (c) 2000-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -162,7 +162,7 @@ public class Replace extends MatchingTask { public String getReplaceValue() { if (property != null) { - return (String)properties.getProperty(property); + return properties.getProperty(property); } else if (value != null) { return value;