You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@depot.apache.org by ni...@apache.org on 2004/08/17 07:21:34 UTC

svn commit: rev 36507 - incubator/depot/trunk/version/src/java/org/apache/depot/version/generation

Author: nickchalko
Date: Tue Aug 17 00:21:32 2004
New Revision: 36507

Modified:
   incubator/depot/trunk/version/src/java/org/apache/depot/version/generation/VersionSourceGenerator.java
Log:
More generated javadocs imporvements.

Modified: incubator/depot/trunk/version/src/java/org/apache/depot/version/generation/VersionSourceGenerator.java
==============================================================================
--- incubator/depot/trunk/version/src/java/org/apache/depot/version/generation/VersionSourceGenerator.java	(original)
+++ incubator/depot/trunk/version/src/java/org/apache/depot/version/generation/VersionSourceGenerator.java	Tue Aug 17 00:21:32 2004
@@ -35,8 +35,8 @@
   protected final String TEXT_9 = NL + " * @generated" + NL + " */" + NL + "public final class ";
   protected final String TEXT_10 = " { " + NL + "\t/* SINGLETON PATTERN */" + NL + "\tprivate final static  ";
   protected final String TEXT_11 = " INSTANCE = new  ";
-  protected final String TEXT_12 = "();" + NL + "   public static ";
-  protected final String TEXT_13 = " getInstance() {return INSTANCE ;}" + NL + "    " + NL + "   private final Map  attributes;" + NL + "\t" + NL + "\tprivate  ";
+  protected final String TEXT_12 = "();" + NL + "\t/**" + NL + "\t * Get the Singleton instance of this class." + NL + "\t * @return the Singleton instance of this class" + NL + "\t */" + NL + "    public static ";
+  protected final String TEXT_13 = " getInstance() {return INSTANCE ;}" + NL + "    " + NL + "    private final Map  attributes;" + NL + "\t" + NL + "\t/**" + NL + "\t * Private constructor for Singleton." + NL + "\t */" + NL + "\tprivate  ";
   protected final String TEXT_14 = "()  {" + NL + "\tMap temp = new HashMap();" + NL + "\t";
   protected final String TEXT_15 = NL + "    temp.put(";
   protected final String TEXT_16 = ",";
@@ -85,7 +85,7 @@
   {
     StringBuffer stringBuffer = new StringBuffer();
      
-/*
+/* 
  * Copyright 2004 The Apache Software Foundation
  * 
  * Licensed under the Apache License, Version 2.0 (the "License"); you may not