diff --git a/core/src/main/java/org/bitcoinj/core/TransactionOutPoint.java b/core/src/main/java/org/bitcoinj/core/TransactionOutPoint.java index 95ae0c50f0c..d6f5a4e539b 100644 --- a/core/src/main/java/org/bitcoinj/core/TransactionOutPoint.java +++ b/core/src/main/java/org/bitcoinj/core/TransactionOutPoint.java @@ -242,14 +242,6 @@ public long index() { return index; } - /** - * @deprecated Use {@link #index()} - */ - @Deprecated - public long getIndex() { - return index(); - } - @Override public boolean equals(Object o) { if (this == o) return true; diff --git a/core/src/test/java/org/bitcoinj/core/TransactionOutPointTest.java b/core/src/test/java/org/bitcoinj/core/TransactionOutPointTest.java index 3c5c135fa39..92c9e12c23d 100644 --- a/core/src/test/java/org/bitcoinj/core/TransactionOutPointTest.java +++ b/core/src/test/java/org/bitcoinj/core/TransactionOutPointTest.java @@ -53,10 +53,4 @@ private Iterator randomOutPoints() { return new TransactionOutPoint(Integer.toUnsignedLong(random.nextInt()), Sha256Hash.wrap(randomBytes)); }).limit(10).iterator(); } - - @Test - public void deprecatedMembers() { - TransactionOutPoint outpoint = TransactionOutPoint.UNCONNECTED; - outpoint.getIndex(); - } }