From 5c465673396e517bfe637393d2ac2bdf98a0cb62 Mon Sep 17 00:00:00 2001 From: Jacobus Martinus Kruithof Date: Sun, 12 Jun 2005 15:58:15 +0000 Subject: [PATCH] removed unused private method git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278419 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tools/ant/types/XMLCatalog.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/main/org/apache/tools/ant/types/XMLCatalog.java b/src/main/org/apache/tools/ant/types/XMLCatalog.java index a3735f5b2..e2d99e296 100644 --- a/src/main/org/apache/tools/ant/types/XMLCatalog.java +++ b/src/main/org/apache/tools/ant/types/XMLCatalog.java @@ -177,22 +177,6 @@ public class XMLCatalog extends DataType return getRef().classpath; } - /** - * Set the list of ResourceLocation objects in the catalog. - * Not allowed if this catalog is itself a reference to another catalog -- - * that is, a catalog cannot both refer to another and contain - * elements or other attributes. - * - * @param aVector the new list of ResourceLocations - * to use in the catalog. - */ - private void setElements(Vector aVector) { - if (isReference()) { - throw noChildrenAllowed(); - } - elements = aVector; - } - /** * Allows nested classpath elements. Not allowed if this catalog * is itself a reference to another catalog -- that is, a catalog