cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r783146 - /cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/util/ObjectModelProvider.java
Date Tue, 09 Jun 2009 22:02:54 GMT
Author: reinhard
Date: Tue Jun  9 22:02:54 2009
New Revision: 783146

URL: http://svn.apache.org/viewvc?rev=783146&view=rev
Log:
prevent instantiation

Modified:
    cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/util/ObjectModelProvider.java

Modified: cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/util/ObjectModelProvider.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/util/ObjectModelProvider.java?rev=783146&r1=783145&r2=783146&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/util/ObjectModelProvider.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/util/ObjectModelProvider.java
Tue Jun  9 22:02:54 2009
@@ -26,6 +26,10 @@
 
 public class ObjectModelProvider {
 
+    private ObjectModelProvider() {
+        throw new AssertionError();
+    }
+
     public static ObjectModel provide(Map<String, Object> parameters) {
         ObjectModel objectModel = new ObjectModel(parameters);
         Map<String, Object> cocoon = objectModel.getCocoonObject();



Mime
View raw message