creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1372587 - /creadur/whisker/trunk/apache-whisker-model/src/main/java/org/apache/creadur/whisker/model/LicenseTemplateException.java
Date Mon, 13 Aug 2012 20:31:40 GMT
Author: rdonkin
Date: Mon Aug 13 20:31:40 2012
New Revision: 1372587

URL: http://svn.apache.org/viewvc?rev=1372587&view=rev
Log:
Enforce factory pattern.

Modified:
    creadur/whisker/trunk/apache-whisker-model/src/main/java/org/apache/creadur/whisker/model/LicenseTemplateException.java

Modified: creadur/whisker/trunk/apache-whisker-model/src/main/java/org/apache/creadur/whisker/model/LicenseTemplateException.java
URL: http://svn.apache.org/viewvc/creadur/whisker/trunk/apache-whisker-model/src/main/java/org/apache/creadur/whisker/model/LicenseTemplateException.java?rev=1372587&r1=1372586&r2=1372587&view=diff
==============================================================================
--- creadur/whisker/trunk/apache-whisker-model/src/main/java/org/apache/creadur/whisker/model/LicenseTemplateException.java
(original)
+++ creadur/whisker/trunk/apache-whisker-model/src/main/java/org/apache/creadur/whisker/model/LicenseTemplateException.java
Mon Aug 13 20:31:40 2012
@@ -48,7 +48,7 @@ public class LicenseTemplateException ex
      * @param parameters parameters passed
      * @param name license name
      */
-    public LicenseTemplateException(final String message,
+    private LicenseTemplateException(final String message,
             final Map<String, String> parameters, final String name) {
         // TODO: improve reporting
         super(message);
@@ -60,7 +60,7 @@ public class LicenseTemplateException ex
      * @param expectedParameters not null
      * @param actualParameters not null
      */
-    public LicenseTemplateException(final String message,
+    private LicenseTemplateException(final String message,
             final Collection<String> expectedParameters,
             final Collection<String> actualParameters) {
         // TODO improve reporting
@@ -72,7 +72,7 @@ public class LicenseTemplateException ex
      * @param message not null
      * @param name not null
      */
-    public LicenseTemplateException(final String message, final String name) {
+    private LicenseTemplateException(final String message, final String name) {
         // TODO improve reporting
         super(message);
     }



Mime
View raw message