langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java
changeset 17570 78512b2899db
parent 17563 e8ddeb9bd17c
child 18898 0eab5f5e3d1d
--- a/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java	Tue May 14 10:14:55 2013 -0700
+++ b/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java	Tue May 14 10:14:55 2013 -0700
@@ -827,7 +827,7 @@
         }
     }
 
-    public abstract Content getContentForResource();
+    public abstract Content newContent();
 
     /**
      * Get the configuration string as a content.
@@ -836,7 +836,7 @@
      * @return a content tree for the text
      */
     public Content getResource(String key) {
-        Content c = getContentForResource();
+        Content c = newContent();
         c.addContent(getText(key));
         return c;
     }
@@ -872,7 +872,7 @@
      * @return a content tree for the text
      */
     public Content getResource(String key, Object o0, Object o1, Object o2) {
-        Content c = getContentForResource();
+        Content c = newContent();
         Pattern p = Pattern.compile("\\{([012])\\}");
         String text = getText(key);
         Matcher m = p.matcher(text);