summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2015-10-31 18:21:01 +0800
committerAdam Bard <github@adambard.com>2015-10-31 18:21:01 +0800
commit924577b927ebdb1eb00556b0014e589f1fea0d8f (patch)
tree8153227c6c9b2b9bd42ccc4485cd8e3f0a1aa87e
parent90ea4d5ed48b96819888c58faa34aab200bd5e8f (diff)
parent34c7c6acb22c934f879a353f3ba92b38b602f7fc (diff)
Merge pull request #1926 from hopesenddreams/patch-1
Fixed typo at BigInteger assignment
-rw-r--r--java.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/java.html.markdown b/java.html.markdown
index 9423c4d9..e1efc375 100644
--- a/java.html.markdown
+++ b/java.html.markdown
@@ -128,7 +128,7 @@ public class LearnJava {
//
// BigInteger can be initialized using an array of bytes or a string.
- BigInteger fooBigInteger = new BigDecimal(fooByteArray);
+ BigInteger fooBigInteger = new BigInteger(fooByteArray);
// BigDecimal - Immutable, arbitrary-precision signed decimal number