Skip to content

Commit 021b836

Browse files
authored
Update README.md
1 parent 07a2ca0 commit 021b836

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ String random = collection.get();
1313
```
1414

1515
# Proven Probability
16-
The probability test is run **10,000 times**. Each time getting **100,000** random elements and counting the spread. The test would not pass if the spread had over **3.5%** deviation from the expected probability.
16+
The probability test is run **1,000,000 times**. Each time getting **100,000** random elements and counting the spread. The test would not pass if the spread had over **3.5%** deviation from the expected probability.
1717

1818
Here is a real world example which used 1,000 selects:
1919
```
@@ -56,25 +56,25 @@ or for the fancy users, you could use Maven:
5656
**Maven Shade This Dependency:**
5757
```
5858
<plugin>
59-
<groupId>org.apache.maven.plugins</groupId>
60-
<artifactId>maven-shade-plugin</artifactId>
61-
<version>3.1.1</version>
62-
<executions>
63-
<execution>
64-
<configuration>
65-
<dependencyReducedPomLocation>${project.build.directory}/drp.xml</dependencyReducedPomLocation>
66-
<relocations>
67-
<relocation>
68-
<!-- Avoid Name Conflics -->
69-
<pattern>com.lewdev.probabilitylib</pattern>
70-
<shadedPattern>***<!--YOUR.PACKAGE.HERE-->***.probabilitylib</shadedPattern>
71-
</relocation>
72-
</configuration>
73-
<phase>package</phase>
74-
<goals>
75-
<goal>shade</goal>
76-
</goals>
77-
</execution>
78-
</executions>
59+
<groupId>org.apache.maven.plugins</groupId>
60+
<artifactId>maven-shade-plugin</artifactId>
61+
<version>3.1.1</version>
62+
<executions>
63+
<execution>
64+
<configuration>
65+
<relocations>
66+
<relocation>
67+
<!-- Avoid Name Conflics -->
68+
<pattern>com.lewdev.probabilitylib</pattern>
69+
<shadedPattern>***<!--YOUR.PACKAGE.HERE-->***.probabilitylib</shadedPattern>
70+
</relocation>
71+
</relocations>
72+
</configuration>
73+
<phase>package</phase>
74+
<goals>
75+
<goal>shade</goal>
76+
</goals>
77+
</execution>
78+
</executions>
7979
</plugin>
8080
```

0 commit comments

Comments
 (0)