svn commit: r427570 - /incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r427570 - /incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java

jleroux@apache.org
Author: jleroux
Date: Tue Aug  1 06:15:42 2006
New Revision: 427570

URL: http://svn.apache.org/viewvc?rev=427570&view=rev
Log:
Applying the Apache CTR policy I commit this change (dynamic ASL2 in xpos.properties) to close old Jira OFBIZ-884
If anybody think that this is not to be done, please feel free to revert the file.
Thanks

Modified:
    incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java

Modified: incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java?rev=427570&r1=427569&r2=427570&view=diff
==============================================================================
--- incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java (original)
+++ incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java Tue Aug  1 06:15:42 2006
@@ -366,7 +366,24 @@
         try {
             properties.setProperty(name, value);
             FileOutputStream propFile = new FileOutputStream(resource);
-            properties.store(propFile, "Dynamically modified by OFBiz Framework (org.ofbiz.base.util : UtilProperties.setPropertyValue) ");
+            properties.store(propFile, "Dynamically modified by OFBiz Framework (org.ofbiz.base.util : UtilProperties.setPropertyValue)\n"
+            +"#\n"
+            +"#$Id: $\n"
+            +"#\n"
+            +"#    Copyright 2001-2006 The Apache Software Foundation\n"
+            +"#\n"
+            +"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n"
+            +"#    use this file except in compliance with the License. You may obtain a copy of\n"
+            +"#    the License at\n"
+            +"#\n"
+            +"#    http://www.apache.org/licenses/LICENSE-2.0\n"
+            +"#\n"
+            +"#    Unless required by applicable law or agreed to in writing, software\n"
+            +"#    distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n"
+            +"#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n"
+            +"#    License for the specific language governing permissions and limitations\n"
+            +"#    under the License.");
+            
             propFile.close();
         } catch (FileNotFoundException e) {
             Debug.log(e, "Unable to located the resource file.", module);