Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2014-07-21 05:18:00 +0400
committerDavid Hook <dgh@cryptoworkshop.com>2014-07-21 05:18:00 +0400
commit262777bf578e4b3b73578abeadf6efe47b180911 (patch)
tree5bf67ab67965893296e5101f9f52b15ad400bdb6 /core/src/main/java/org/bouncycastle/math/ec/ECFieldElement.java
parenta10aa6bbc74c3b5fa5409cf7cd3c816d1eb98457 (diff)
portability updates, updated version number
Diffstat (limited to 'core/src/main/java/org/bouncycastle/math/ec/ECFieldElement.java')
-rw-r--r--core/src/main/java/org/bouncycastle/math/ec/ECFieldElement.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/org/bouncycastle/math/ec/ECFieldElement.java b/core/src/main/java/org/bouncycastle/math/ec/ECFieldElement.java
index 175844e3..59438826 100644
--- a/core/src/main/java/org/bouncycastle/math/ec/ECFieldElement.java
+++ b/core/src/main/java/org/bouncycastle/math/ec/ECFieldElement.java
@@ -222,7 +222,7 @@ public abstract class ECFieldElement
*/
public ECFieldElement sqrt()
{
- if (isZero() || isOne())
+ if (this.isZero() || this.isOne()) // earlier JDK compatibility
{
return this;
}