Log Message
Java 1.4 API restriction.
Modified Paths
Diff
Modified: branches/v-1.4.x/xstream-distribution/src/content/security.html (2224 => 2225)
--- branches/v-1.4.x/xstream-distribution/src/content/security.html 2014-01-24 23:05:12 UTC (rev 2224)
+++ branches/v-1.4.x/xstream-distribution/src/content/security.html 2014-01-24 23:11:47 UTC (rev 2225)
@@ -113,15 +113,15 @@
<p>The <a href="" facade provides the following methods to
register such type permissions within the SecurityMapper:</p><div class="Source Java">
<pre>XStream.addPermission(TypePermission);
-XStream.allowTypes(String...);
-XStream.allowTypesByRegExp(String...);
-XStream.allowTypesByRegExp(Pattern...);
-XStream.allowTypesByWildcard(String...);
+XStream.allowTypes(String[]);
+XStream.allowTypesByRegExp(String[]);
+XStream.allowTypesByRegExp(Pattern[]);
+XStream.allowTypesByWildcard(String[]);
XStream.denyPermission(TypePermission);
-XStream.denyTypes(String...);
-XStream.denyTypesByRegExp(String...);
-XStream.denyTypesByRegExp(Pattern...);
-XStream.denyTypesByWildcard(String...);</pre></div>
+XStream.denyTypes(String[]);
+XStream.denyTypesByRegExp(String[]);
+XStream.denyTypesByRegExp(Pattern[]);
+XStream.denyTypesByWildcard(String[]);</pre></div>
<p>The sequence of registration is essential. The most recently registered permission will be evaluated first.</p>
To unsubscribe from this list please visit:
