Skip to content

Commit 81b1c51

Browse files
committed
edit docs
1 parent 66d383e commit 81b1c51

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

src/main/java/com/upokecenter/cbor/CBORObject.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3649,9 +3649,7 @@ public static <TKey, TValue> CBORObject FromObject(Map<TKey,
36493649
}
36503650

36513651
/**
3652-
* Not documented yet.
3653-
* @param obj An arbitrary object.
3654-
* @return A CBORObject object.
3652+
*
36553653
*/
36563654
public static CBORObject FromObject(Object obj) {
36573655
if (obj == null) {

src/main/java/com/upokecenter/util/PrecisionContext.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@
99

1010
/**
1111
* Contains parameters for controlling the precision, rounding, and exponent
12-
* range of arbitrary-precision numbers.
12+
* range of arbitrary-precision numbers. NOTE: This class is not
13+
* designed for inheritance, and inheriting from this class is not
14+
* recommended since it may break in future versions.
1315
*/
1416
public class PrecisionContext {
17+
// TODO: Add 'final' to PrecisionContext in version 3
1518
private BigInteger exponentMax;
1619

1720
/**

src/test/java/com/upokecenter/test/BigIntTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
import org.junit.Test;
1212
import com.upokecenter.util.*;
1313

14-
public class BigIntTest
15-
{
14+
public class BigIntTest {
1615
// Test some specific cases
1716
@Test
1817
public void TestSpecificCases() {

src/test/java/com/upokecenter/test/FastRandom.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
* testing. Unfortunately it can be very slow. So we use this wrapper
1313
* class.
1414
*/
15-
public class FastRandom
16-
{
15+
public class FastRandom {
1716
private static final int ReseedCount = 500;
1817

1918
private java.util.Random rand;

0 commit comments

Comments
 (0)