From 0b3cc9c59f30bf880cfbfd16ffee1a6c0ea7e7f0 Mon Sep 17 00:00:00 2001
From: Matthew Shaylor
Date: Tue, 19 Apr 2016 18:14:57 +0100
Subject: [PATCH] Replace URLs to code.google.com by the appropriate GitHub
URLs.
---
README.md | 2 +-
core/src/main/java/org/bitcoinj/core/AbstractBlockChain.java | 2 +-
core/src/main/java/org/bitcoinj/core/BloomFilter.java | 2 +-
core/src/main/java/org/bitcoinj/core/Transaction.java | 2 +-
.../java/org/bitcoinj/wallet/WalletProtobufSerializer.java | 2 +-
examples/src/main/java/org/bitcoinj/examples/Kit.java | 2 +-
examples/src/main/java/org/bitcoinj/examples/SendRequest.java | 2 +-
pom.xml | 4 ++--
8 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index 76b95d1be..e743ab5ae 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ The bitcoinj library is a Java implementation of the Bitcoin protocol, which all
* Java 6 for the core modules, Java 8 for everything else
* [Maven 3+](http://maven.apache.org) - for building the project
* [Orchid](https://github.com/subgraph/Orchid) - for secure communications over [TOR](https://www.torproject.org)
-* [Google Protocol Buffers](https://code.google.com/p/protobuf/) - for use with serialization and hardware communications
+* [Google Protocol Buffers](https://github.com/google/protobuf) - for use with serialization and hardware communications
### Getting started
diff --git a/core/src/main/java/org/bitcoinj/core/AbstractBlockChain.java b/core/src/main/java/org/bitcoinj/core/AbstractBlockChain.java
index 49d83ed97..04820d2fa 100644
--- a/core/src/main/java/org/bitcoinj/core/AbstractBlockChain.java
+++ b/core/src/main/java/org/bitcoinj/core/AbstractBlockChain.java
@@ -454,7 +454,7 @@ public abstract class AbstractBlockChain {
// Prove the block is internally valid: hash is lower than target, etc. This only checks the block contents
// if there is a tx sending or receiving coins using an address in one of our wallets. And those transactions
// are only lightly verified: presence in a valid connecting block is taken as proof of validity. See the
- // article here for more details: http://code.google.com/p/bitcoinj/wiki/SecurityModel
+ // article here for more details: https://bitcoinj.github.io/security-model
try {
block.verifyHeader();
storedPrev = getStoredBlockInCurrentScope(block.getPrevBlockHash());
diff --git a/core/src/main/java/org/bitcoinj/core/BloomFilter.java b/core/src/main/java/org/bitcoinj/core/BloomFilter.java
index 7a149ea8e..9f310a19b 100644
--- a/core/src/main/java/org/bitcoinj/core/BloomFilter.java
+++ b/core/src/main/java/org/bitcoinj/core/BloomFilter.java
@@ -163,7 +163,7 @@ public class BloomFilter extends Message {
/**
* Applies the MurmurHash3 (x86_32) algorithm to the given data.
- * See this C++ code for the original.
+ * See this C++ code for the original.
*/
public static int murmurHash3(byte[] data, long nTweak, int hashNum, byte[] object) {
int h1 = (int)(hashNum * 0xFBA4C795L + nTweak);
diff --git a/core/src/main/java/org/bitcoinj/core/Transaction.java b/core/src/main/java/org/bitcoinj/core/Transaction.java
index c7ea5d0fc..91e5b7c2f 100644
--- a/core/src/main/java/org/bitcoinj/core/Transaction.java
+++ b/core/src/main/java/org/bitcoinj/core/Transaction.java
@@ -47,7 +47,7 @@ import java.math.BigInteger;
* the minting of new coins. A Transaction object corresponds to the equivalent in the Bitcoin C++ implementation.
*
* Transactions are the fundamental atoms of Bitcoin and have many powerful features. Read
- * "Working with transactions" in the
+ * "Working with transactions" in the
* documentation to learn more about how to use this class.
*
* All Bitcoin transactions are at risk of being reversed, though the risk is much less than with traditional payment
diff --git a/core/src/main/java/org/bitcoinj/wallet/WalletProtobufSerializer.java b/core/src/main/java/org/bitcoinj/wallet/WalletProtobufSerializer.java
index cbe9a58ce..9d98715fb 100644
--- a/core/src/main/java/org/bitcoinj/wallet/WalletProtobufSerializer.java
+++ b/core/src/main/java/org/bitcoinj/wallet/WalletProtobufSerializer.java
@@ -51,7 +51,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
/**
* Serialize and de-serialize a wallet to a byte stream containing a
- * protocol buffer. Protocol buffers are
+ * protocol buffer. Protocol buffers are
* a data interchange format developed by Google with an efficient binary representation, a type safe specification
* language and compilers that generate code to work with those data structures for many languages. Protocol buffers
* can have their format evolved over time: conceptually they represent data using (tag, length, value) tuples. The
diff --git a/examples/src/main/java/org/bitcoinj/examples/Kit.java b/examples/src/main/java/org/bitcoinj/examples/Kit.java
index a03359dfe..7ce564a6a 100644
--- a/examples/src/main/java/org/bitcoinj/examples/Kit.java
+++ b/examples/src/main/java/org/bitcoinj/examples/Kit.java
@@ -59,7 +59,7 @@ public class Kit {
//kit.connectToLocalHost();
// Now we start the kit and sync the blockchain.
- // bitcoinj is working a lot with the Google Guava libraries. The WalletAppKit extends the AbstractIdleService. Have a look at the introduction to Guava services: https://code.google.com/p/guava-libraries/wiki/ServiceExplained
+ // bitcoinj is working a lot with the Google Guava libraries. The WalletAppKit extends the AbstractIdleService. Have a look at the introduction to Guava services: https://github.com/google/guava/wiki/ServiceExplained
kit.startAsync();
kit.awaitRunning();
diff --git a/examples/src/main/java/org/bitcoinj/examples/SendRequest.java b/examples/src/main/java/org/bitcoinj/examples/SendRequest.java
index 37b8d7633..0313ec1fc 100644
--- a/examples/src/main/java/org/bitcoinj/examples/SendRequest.java
+++ b/examples/src/main/java/org/bitcoinj/examples/SendRequest.java
@@ -65,7 +65,7 @@ public class SendRequest {
// Bitcoinj allows you to define a BalanceFuture to execute a callback once your wallet has a certain balance.
// Here we wait until the we have enough balance and display a notice.
- // Bitcoinj is using the ListenableFutures of the Guava library. Have a look here for more information: https://code.google.com/p/guava-libraries/wiki/ListenableFutureExplained
+ // Bitcoinj is using the ListenableFutures of the Guava library. Have a look here for more information: https://github.com/google/guava/wiki/ListenableFutureExplained
ListenableFuture balanceFuture = kit.wallet().getBalanceFuture(value, BalanceType.AVAILABLE);
FutureCallback callback = new FutureCallback() {
@Override
diff --git a/pom.xml b/pom.xml
index d8cb60767..90101792c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,8 +40,8 @@
- Google Code
- http://code.google.com/p/bitcoinj/issues/list
+ GitHub
+ https://github.com/bitcoinj/bitcoinj/issues