You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2006/03/06 19:14:59 UTC
svn commit: r383606 - in /db/derby/code/trunk/java/engine/org/apache/derby:
iapi/services/monitor/ModuleFactory.java
iapi/services/property/PropertyUtil.java
impl/services/monitor/FileMonitor.java
Author: djd
Date: Mon Mar 6 10:14:56 2006
New Revision: 383606
URL: http://svn.apache.org/viewcvs?rev=383606&view=rev
Log:
Javadoc fixes related to DERBY-623
Contributed by Kristian Waagan Kristian.Waagan@Sun.COM
Modified:
db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/monitor/ModuleFactory.java
db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/property/PropertyUtil.java
db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/FileMonitor.java
Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/monitor/ModuleFactory.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/monitor/ModuleFactory.java?rev=383606&r1=383605&r2=383606&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/monitor/ModuleFactory.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/monitor/ModuleFactory.java Mon Mar 6 10:14:56 2006
@@ -265,8 +265,8 @@
/**
Return a property from the JVM's system set.
- In a Java2 environment this will be executed as a privliged block
- if and only if the property starts with db2j.
+ In a Java2 environment this will be executed as a privileged block
+ if and only if the property starts with 'derby.'.
If a SecurityException occurs, null is returned.
*/
public String getJVMProperty(String key);
Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/property/PropertyUtil.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/property/PropertyUtil.java?rev=383606&r1=383605&r2=383606&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/property/PropertyUtil.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/property/PropertyUtil.java Mon Mar 6 10:14:56 2006
@@ -141,9 +141,10 @@
}
/**
- Find a system wide property. Search order is
+ Find a system wide property.
@return the value of the property or null if it does not exist.
+ @see #getSystemProperty(String,String)
*/
public static String getSystemProperty(String key) {
return PropertyUtil.getSystemProperty(key, (String) null);
Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/FileMonitor.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/FileMonitor.java?rev=383606&r1=383605&r2=383606&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/FileMonitor.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/FileMonitor.java Mon Mar 6 10:14:56 2006
@@ -81,7 +81,7 @@
/**
SECURITY WARNING.
- This method is run in a privledged block in a Java 2 environment.
+ This method is run in a privileged block in a Java 2 environment.
Set the system home directory. Returns false if it couldn't for
some reason.
@@ -142,11 +142,11 @@
/**
SECURITY WARNING.
- This method is run in a privledged block in a Java 2 environment.
+ This method is run in a privileged block in a Java 2 environment.
Return a property from the JVM's system set.
- In a Java2 environment this will be executed as a privliged block
- if and only if the property starts with db2j.
+ In a Java2 environment this will be executed as a privileged block
+ if and only if the property starts with 'derby.'.
If a SecurityException occurs, null is returned.
*/
private String PBgetJVMProperty(String key) {