diff --git a/pom.xml b/pom.xml index cfe3f56..7485dc4 100644 --- a/pom.xml +++ b/pom.xml @@ -37,7 +37,7 @@ org.apache.maven.plugins maven-compiler-plugin - + 3.5.1 UTF-8 ${jdk.version} diff --git a/src/main/java/org/csource/common/IniFileReader.java b/src/main/java/org/csource/common/IniFileReader.java index ce66100..e1c609c 100644 --- a/src/main/java/org/csource/common/IniFileReader.java +++ b/src/main/java/org/csource/common/IniFileReader.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. **/ package org.csource.common; diff --git a/src/main/java/org/csource/common/MyException.java b/src/main/java/org/csource/common/MyException.java index a4bd8d3..6349d65 100644 --- a/src/main/java/org/csource/common/MyException.java +++ b/src/main/java/org/csource/common/MyException.java @@ -3,7 +3,7 @@ * * FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). -* Please visit the FastDFS Home Page http://www.csource.org/ for more detail. +* Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.common; diff --git a/src/main/java/org/csource/common/NameValuePair.java b/src/main/java/org/csource/common/NameValuePair.java index 0b9d2cb..972ddf7 100644 --- a/src/main/java/org/csource/common/NameValuePair.java +++ b/src/main/java/org/csource/common/NameValuePair.java @@ -3,7 +3,7 @@ * * FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). -* Please visit the FastDFS Home Page http://www.csource.org/ for more detail. +* Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.common; diff --git a/src/main/java/org/csource/fastdfs/ClientGlobal.java b/src/main/java/org/csource/fastdfs/ClientGlobal.java index b078667..7c8beed 100644 --- a/src/main/java/org/csource/fastdfs/ClientGlobal.java +++ b/src/main/java/org/csource/fastdfs/ClientGlobal.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. **/ package org.csource.fastdfs; diff --git a/src/main/java/org/csource/fastdfs/DownloadCallback.java b/src/main/java/org/csource/fastdfs/DownloadCallback.java index 5c99437..5595875 100644 --- a/src/main/java/org/csource/fastdfs/DownloadCallback.java +++ b/src/main/java/org/csource/fastdfs/DownloadCallback.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.fastdfs; diff --git a/src/main/java/org/csource/fastdfs/FileInfo.java b/src/main/java/org/csource/fastdfs/FileInfo.java index 431b872..faa66fb 100644 --- a/src/main/java/org/csource/fastdfs/FileInfo.java +++ b/src/main/java/org/csource/fastdfs/FileInfo.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.fastdfs; diff --git a/src/main/java/org/csource/fastdfs/ProtoCommon.java b/src/main/java/org/csource/fastdfs/ProtoCommon.java index f1aecbb..b194fd7 100644 --- a/src/main/java/org/csource/fastdfs/ProtoCommon.java +++ b/src/main/java/org/csource/fastdfs/ProtoCommon.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. **/ package org.csource.fastdfs; diff --git a/src/main/java/org/csource/fastdfs/ProtoStructDecoder.java b/src/main/java/org/csource/fastdfs/ProtoStructDecoder.java index 5f27907..f6b9d9f 100644 --- a/src/main/java/org/csource/fastdfs/ProtoStructDecoder.java +++ b/src/main/java/org/csource/fastdfs/ProtoStructDecoder.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.fastdfs; diff --git a/src/main/java/org/csource/fastdfs/ServerInfo.java b/src/main/java/org/csource/fastdfs/ServerInfo.java index 98faefd..7a44ca0 100644 --- a/src/main/java/org/csource/fastdfs/ServerInfo.java +++ b/src/main/java/org/csource/fastdfs/ServerInfo.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.fastdfs; diff --git a/src/main/java/org/csource/fastdfs/StorageClient.java b/src/main/java/org/csource/fastdfs/StorageClient.java index 9d5c3fa..6d6be88 100644 --- a/src/main/java/org/csource/fastdfs/StorageClient.java +++ b/src/main/java/org/csource/fastdfs/StorageClient.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.fastdfs; @@ -18,6 +18,7 @@ import java.util.Arrays; /** * Storage client for 2 fields file id: group name and filename + * Note: the instance of this class is NOT thread safe !!! * * @author Happy Fish / YuQing * @version Version 1.24 diff --git a/src/main/java/org/csource/fastdfs/StorageClient1.java b/src/main/java/org/csource/fastdfs/StorageClient1.java index 51f3bcd..ec3f6fb 100644 --- a/src/main/java/org/csource/fastdfs/StorageClient1.java +++ b/src/main/java/org/csource/fastdfs/StorageClient1.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.fastdfs; diff --git a/src/main/java/org/csource/fastdfs/StorageServer.java b/src/main/java/org/csource/fastdfs/StorageServer.java index 6495278..219521e 100644 --- a/src/main/java/org/csource/fastdfs/StorageServer.java +++ b/src/main/java/org/csource/fastdfs/StorageServer.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.fastdfs; diff --git a/src/main/java/org/csource/fastdfs/StructBase.java b/src/main/java/org/csource/fastdfs/StructBase.java index 4502c36..dab7be5 100644 --- a/src/main/java/org/csource/fastdfs/StructBase.java +++ b/src/main/java/org/csource/fastdfs/StructBase.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.fastdfs; diff --git a/src/main/java/org/csource/fastdfs/StructGroupStat.java b/src/main/java/org/csource/fastdfs/StructGroupStat.java index 34a8d94..f291c49 100644 --- a/src/main/java/org/csource/fastdfs/StructGroupStat.java +++ b/src/main/java/org/csource/fastdfs/StructGroupStat.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.fastdfs; diff --git a/src/main/java/org/csource/fastdfs/StructStorageStat.java b/src/main/java/org/csource/fastdfs/StructStorageStat.java index 1b38448..f1f9d72 100644 --- a/src/main/java/org/csource/fastdfs/StructStorageStat.java +++ b/src/main/java/org/csource/fastdfs/StructStorageStat.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.fastdfs; diff --git a/src/main/java/org/csource/fastdfs/TrackerClient.java b/src/main/java/org/csource/fastdfs/TrackerClient.java index c7fb020..d8d6cc0 100644 --- a/src/main/java/org/csource/fastdfs/TrackerClient.java +++ b/src/main/java/org/csource/fastdfs/TrackerClient.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.fastdfs; @@ -14,7 +14,8 @@ import java.net.Socket; import java.util.Arrays; /** - * Tracker client + * Tracker client for request to tracker server + * Note: the instance of this class is NOT thread safe !!! * * @author Happy Fish / YuQing * @version Version 1.19 diff --git a/src/main/java/org/csource/fastdfs/TrackerGroup.java b/src/main/java/org/csource/fastdfs/TrackerGroup.java index 959c3fd..6f657d5 100644 --- a/src/main/java/org/csource/fastdfs/TrackerGroup.java +++ b/src/main/java/org/csource/fastdfs/TrackerGroup.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.fastdfs; diff --git a/src/main/java/org/csource/fastdfs/TrackerServer.java b/src/main/java/org/csource/fastdfs/TrackerServer.java index 4b7dfd3..3ea62b5 100644 --- a/src/main/java/org/csource/fastdfs/TrackerServer.java +++ b/src/main/java/org/csource/fastdfs/TrackerServer.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.fastdfs; diff --git a/src/main/java/org/csource/fastdfs/UploadCallback.java b/src/main/java/org/csource/fastdfs/UploadCallback.java index 46603e9..0b4708e 100644 --- a/src/main/java/org/csource/fastdfs/UploadCallback.java +++ b/src/main/java/org/csource/fastdfs/UploadCallback.java @@ -3,7 +3,7 @@ *

* FastDFS Java Client may be copied only under the terms of the GNU Lesser * General Public License (LGPL). - * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. + * Please visit the FastDFS Home Page https://github.com/happyfish100/fastdfs for more detail. */ package org.csource.fastdfs;