You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2019/11/13 02:24:09 UTC
[commons-rng] branch master updated: Use "prettyprint" in
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git
The following commit(s) were added to refs/heads/master by this push:
new aa5ed9d Use "prettyprint" in <source> tag.
aa5ed9d is described below
commit aa5ed9d403fca196abcb1997e6208546491fc0b7
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Wed Nov 13 02:24:05 2019 +0000
Use "prettyprint" in <source> tag.
---
commons-rng-client-api/src/site/xdoc/index.xml | 2 +-
commons-rng-sampling/src/site/xdoc/index.xml | 2 +-
commons-rng-simple/src/site/xdoc/index.xml | 2 +-
src/site/xdoc/index.xml | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/commons-rng-client-api/src/site/xdoc/index.xml b/commons-rng-client-api/src/site/xdoc/index.xml
index d7bcc10..cb9b398 100644
--- a/commons-rng-client-api/src/site/xdoc/index.xml
+++ b/commons-rng-client-api/src/site/xdoc/index.xml
@@ -39,7 +39,7 @@
Example:
</p>
-<source>import org.apache.commons.rng.UniformRandomProvider;
+<source class="prettyprint">import org.apache.commons.rng.UniformRandomProvider;
public class Dice {
public int roll(UniformRandomProvider rng) {
diff --git a/commons-rng-sampling/src/site/xdoc/index.xml b/commons-rng-sampling/src/site/xdoc/index.xml
index ccec820..1dc2ab3 100644
--- a/commons-rng-sampling/src/site/xdoc/index.xml
+++ b/commons-rng-sampling/src/site/xdoc/index.xml
@@ -39,7 +39,7 @@
<p>
Example:
-<source>import org.apache.commons.rng.UniformRandomProvider;
+<source class="prettyprint">import org.apache.commons.rng.UniformRandomProvider;
import org.apache.commons.rng.sampling.distribution.ContinuousSampler;
import org.apache.commons.rng.sampling.distribution.MarsagliaNormalizedGaussianSampler;
diff --git a/commons-rng-simple/src/site/xdoc/index.xml b/commons-rng-simple/src/site/xdoc/index.xml
index c579f3d..9f04dc9 100644
--- a/commons-rng-simple/src/site/xdoc/index.xml
+++ b/commons-rng-simple/src/site/xdoc/index.xml
@@ -40,7 +40,7 @@
Example:
</p>
-<source>import org.apache.commons.rng.UniformRandomProvider;
+<source class="prettyprint">import org.apache.commons.rng.UniformRandomProvider;
import org.apache.commons.rng.simple.RandomSource;
public class Dice {
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index c894fa1..ca8e9b6 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -35,7 +35,7 @@
Casual use is as simple as:
</p>
-<source>import org.apache.commons.rng.UniformRandomProvider;
+<source class="prettyprint">import org.apache.commons.rng.UniformRandomProvider;
import org.apache.commons.rng.simple.RandomSource;
// Instantiate a "Mersenne-Twister" generator with a factory method.