SLING-6225 - fixing metatype in JavaScriptEngineFactory

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1767512 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/sling/scripting/java/impl/JavaScriptEngineFactory.java b/src/main/java/org/apache/sling/scripting/java/impl/JavaScriptEngineFactory.java
index 851ec29..6849cec 100644
--- a/src/main/java/org/apache/sling/scripting/java/impl/JavaScriptEngineFactory.java
+++ b/src/main/java/org/apache/sling/scripting/java/impl/JavaScriptEngineFactory.java
@@ -71,7 +71,7 @@
     @Property(name=JavaScriptEngineFactory.PROPERTY_COMPILER_TARGET_V_M, value=JavaScriptEngineFactory.VERSION_AUTO),
     @Property(name=JavaScriptEngineFactory.PROPERTY_CLASSDEBUGINFO, boolValue=true),
     @Property(name=JavaScriptEngineFactory.PROPERTY_ENCODING, value="UTF-8"),
-    @Property(name = ResourceChangeListener.CHANGES, value = {"CHANGED", "REMOVED"}),
+    @Property(name = ResourceChangeListener.CHANGES, value = {"CHANGED", "REMOVED"}, propertyPrivate = true),
     @Property(name = ResourceChangeListener.PATHS, value = {"."}, propertyPrivate = true)
 })
 public class JavaScriptEngineFactory
diff --git a/src/main/resources/OSGI-INF/metatype/metatype.properties b/src/main/resources/OSGI-INF/metatype/metatype.properties
index 80fc269..b2d6623 100644
--- a/src/main/resources/OSGI-INF/metatype/metatype.properties
+++ b/src/main/resources/OSGI-INF/metatype/metatype.properties
@@ -36,11 +36,10 @@
 
 java.compilerSourceVM.name = Source VM
 java.compilerSourceVM.description = Java Specification to be used to read \
- the source files. If left empty, the default version, 1.6., is used. If the \
- value "auto" is used, the current vm version will be used.
+ the source files. If left empty or the value "auto" is specified, the \
+ current vm version will be used.
 
 java.compilerTargetVM.name = Target VM
-java.compilerTargetVM.description = Target Java version for compilation. If left \ 
- empty, the default version, 1.6., is used. If the value "auto" is used, the current \
- vm version will be used.
+java.compilerTargetVM.description = Target Java version for compilation. If left \
+ empty or the value "auto" is specified, the current vm version will be used.
  
\ No newline at end of file