Skip to content

Commit ebe43ef

Browse files
committed
java doc
1 parent d64cc71 commit ebe43ef

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

api-boot-project/api-boot-plugins/api-boot-plugin-alibaba-oss/src/main/java/org/minbox/framework/api/boot/plugin/oss/ApiBootOssService.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public void delete(String objectName) throws ApiBootObjectStorageException {
132132
* @param objectName object name
133133
* @param uploadFile upload file
134134
* @param partSize every part size
135-
* @throws ApiBootObjectStorageException
135+
* @throws ApiBootObjectStorageException ApiBoot Oss Exception
136136
*/
137137
public ApiBootObjectStorageResponse multipartUpload(String objectName, File uploadFile, long partSize) throws ApiBootObjectStorageException {
138138
try {
@@ -198,7 +198,8 @@ public ApiBootObjectStorageResponse multipartUpload(String objectName, File uplo
198198
* @param objectName object name
199199
* @param localFile local file
200200
* @param partSize every part size
201-
* @throws ApiBootObjectStorageException
201+
* @return ApiBootObjectStorageResponse
202+
* @throws ApiBootObjectStorageException ApiBoot Oss Exception
202203
* @see PartSize
203204
*/
204205
public ApiBootObjectStorageResponse multipartUpload(String objectName, String localFile, long partSize) throws ApiBootObjectStorageException {
@@ -212,7 +213,7 @@ public ApiBootObjectStorageResponse multipartUpload(String objectName, String lo
212213
* 获取OssClient对象
213214
*
214215
* @return OssClient
215-
* @throws ApiBootObjectStorageException 对象存储异常对象
216+
* @throws ApiBootObjectStorageException ApiBoot Oss Exception
216217
*/
217218
protected OSSClient getOssClient() throws ApiBootObjectStorageException {
218219
try {

api-boot-project/api-boot-plugins/api-boot-plugin-alibaba-oss/src/main/java/org/minbox/framework/api/boot/plugin/oss/progress/ApiBootObjectStorageProgress.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* ApiBoot Oss Upload & Download Progress
2424
*
2525
* @author:恒宇少年 - 于起宇
26-
* <p>
26+
*
2727
* DateTime:2019-04-16 17:05
2828
* Blog:http://blog.yuqiyu.com
2929
* WebSite:http://www.jianshu.com/u/092df3f77bca

api-boot-project/api-boot-plugins/api-boot-plugin-resource-load/src/main/java/org/minbox/framework/api/boot/plugin/resource/load/ApiBootResourceStoreDelegate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public interface ApiBootResourceStoreDelegate {
4040
* @param sourceFieldValue 资源所属业务字段的值
4141
* @param resourceType 资源类型
4242
* @return Resource urls
43-
* @throws ApiBootException
43+
* @throws ApiBootException ApiBoot Exception
4444
*/
4545
List<String> loadResourceUrl(String sourceFieldValue, String resourceType) throws ApiBootException;
4646
}

api-boot-project/api-boot-plugins/api-boot-plugin-resource-load/src/main/java/org/minbox/framework/api/boot/plugin/resource/load/loader/ResourceFieldLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class ResourceFieldLoader {
4343
* load method declared ResourceField Annotation List
4444
*
4545
* @param method declared method
46-
* @return
46+
* @return ResourceField Annotation List
4747
*/
4848
public static List<ResourceField> getDeclaredResourceField(Method method) {
4949
List<ResourceField> resourceFieldList = new ArrayList();

api-boot-project/api-boot-plugins/api-boot-plugin-resource-load/src/main/java/org/minbox/framework/api/boot/plugin/resource/load/pusher/ResourcePusher.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ else if (result instanceof Object) {
7676
*
7777
* @param method method
7878
* @param executeResultList method execute result list
79-
* @throws Exception
79+
* @throws Exception Exception
8080
*/
8181
private static void pushToList(Method method, List<Object> executeResultList) {
8282
List<ResourceField> resourceFields = getResourceFields(method);
@@ -88,7 +88,7 @@ private static void pushToList(Method method, List<Object> executeResultList) {
8888
*
8989
* @param method method
9090
* @param executeResultMap method execute result map
91-
* @throws Exception
91+
* @throws Exception Exception
9292
*/
9393
private static void pushToMap(Method method, Map executeResultMap) {
9494
List<ResourceField> resourceFields = getResourceFields(method);
@@ -154,8 +154,8 @@ else if (resourceField.isList()) {
154154
*
155155
* @param method method instance
156156
* @param sourceFieldName source field name
157-
* @return
158-
* @throws NoSuchFieldException
157+
* @return Field Instance
158+
* @throws NoSuchFieldException No Such Field Exception
159159
*/
160160
private static Field getSourceField(Method method, Class objectClass, String sourceFieldName, String resourceFieldName) throws NoSuchFieldException {
161161
// cache from memory

0 commit comments

Comments
 (0)