Skip to content

Commit 6607f8c

Browse files
koolhead17balamurugana
authored andcommitted
fix: spelling corrections (#447)
1 parent 0c3bca8 commit 6607f8c

21 files changed

+38
-38
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public class FileUploader {
9090
minioClient.putObject("asiatrip","asiaphotos.zip", "/tmp/asiaphotos.zip");
9191
System.out.println("/tmp/asiaphotos.zip is successfully uploaded as asiaphotos.zip in asiatrip bucket.");
9292
} catch(MinioException e) {
93-
System.out.println("Error occured: " + e);
93+
System.out.println("Error occurred: " + e);
9494
}
9595
}
9696
}

docs/API.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ try {
226226
System.out.println("mybucket is created successfully");
227227
}
228228
} catch (MinioException e) {
229-
System.out.println("Error occured: " + e);
229+
System.out.println("Error occurred: " + e);
230230
}
231231

232232
```
@@ -262,7 +262,7 @@ try {
262262
System.out.println(bucket.creationDate() + ", " + bucket.name());
263263
}
264264
} catch (MinioException e) {
265-
System.out.println("Error occured: " + e);
265+
System.out.println("Error occurred: " + e);
266266
}
267267

268268
```
@@ -311,7 +311,7 @@ try {
311311
System.out.println("mybucket does not exist");
312312
}
313313
} catch (MinioException e) {
314-
System.out.println("Error occured: " + e);
314+
System.out.println("Error occurred: " + e);
315315
}
316316

317317
```
@@ -364,7 +364,7 @@ try {
364364
System.out.println("mybucket does not exist");
365365
}
366366
} catch(MinioException e) {
367-
System.out.println("Error occured: " + e);
367+
System.out.println("Error occurred: " + e);
368368
}
369369

370370
```
@@ -413,7 +413,7 @@ try {
413413
System.out.println("mybucket does not exist");
414414
}
415415
} catch (MinioException e) {
416-
System.out.println("Error occured: " + e);
416+
System.out.println("Error occurred: " + e);
417417
}
418418

419419
```
@@ -462,7 +462,7 @@ try {
462462
System.out.println("mybucket does not exist");
463463
}
464464
} catch (MinioException e) {
465-
System.out.println("Error occured: " + e);
465+
System.out.println("Error occurred: " + e);
466466
}
467467

468468
```
@@ -505,7 +505,7 @@ __Example__
505505
try {
506506
System.out.println("Current policy: " + minioClient.getBucketPolicy("myBucket", "downloads"));
507507
} catch (MinioException e) {
508-
System.out.println("Error occured: " + e);
508+
System.out.println("Error occurred: " + e);
509509
}
510510
```
511511

@@ -550,7 +550,7 @@ __Example__
550550
try {
551551
minioClient.setBucketPolicy("myBucket", "uploads", BucketPolicy.WriteOnly);
552552
} catch (MinioException e) {
553-
System.out.println("Error occured: " + e);
553+
System.out.println("Error occurred: " + e);
554554
}
555555
```
556556

@@ -610,7 +610,7 @@ try {
610610
// Close the input stream.
611611
stream.close();
612612
} catch (MinioException e) {
613-
System.out.println("Error occured: " + e);
613+
System.out.println("Error occurred: " + e);
614614
}
615615

616616
```
@@ -671,7 +671,7 @@ __Example__
671671
// Close the input stream.
672672
stream.close();
673673
} catch (MinioException e) {
674-
System.out.println("Error occured: " + e);
674+
System.out.println("Error occurred: " + e);
675675
}
676676

677677
```
@@ -720,7 +720,7 @@ try {
720720
minioClient.getObject("mybucket", "myobject", "photo.jpg");
721721

722722
} catch (MinioException e) {
723-
System.out.println("Error occured: " + e);
723+
System.out.println("Error occurred: " + e);
724724

725725
```
726726

@@ -790,7 +790,7 @@ try {
790790
bais.close();
791791
System.out.println("myobject is uploaded successfully");
792792
} catch(MinioException e) {
793-
System.out.println("Error occured: " + e);
793+
System.out.println("Error occurred: " + e);
794794
}
795795

796796
```
@@ -835,7 +835,7 @@ try {
835835
minioClient.putObject("mybucket", "island.jpg", "/mnt/photos/island.jpg")
836836
System.out.println("island.jpg is uploaded successfully");
837837
} catch(MinioException e) {
838-
System.out.println("Error occured: " + e);
838+
System.out.println("Error occurred: " + e);
839839
}
840840

841841
```
@@ -881,7 +881,7 @@ try {
881881
ObjectStat objectStat = minioClient.statObject("mybucket", "myobject");
882882
System.out.println(objectStat);
883883
} catch(MinioException e) {
884-
System.out.println("Error occured: " + e);
884+
System.out.println("Error occurred: " + e);
885885
}
886886

887887
```
@@ -970,7 +970,7 @@ try {
970970
minioClient.removeIncompleteUpload("mybucket", "myobject");
971971
System.out.println("successfully removed all incomplete upload session of my-bucketname/my-objectname");
972972
} catch(MinioException e) {
973-
System.out.println("Error occured: " + e);
973+
System.out.println("Error occurred: " + e);
974974
}
975975

976976
```
@@ -1015,7 +1015,7 @@ try {
10151015
String url = minioClient.presignedGetObject("mybucket", "myobject", 60 * 60 * 24);
10161016
System.out.println(url);
10171017
} catch(MinioException e) {
1018-
System.out.println("Error occured: " + e);
1018+
System.out.println("Error occurred: " + e);
10191019
}
10201020

10211021
```
@@ -1059,7 +1059,7 @@ try {
10591059
String url = minioClient.presignedPutObject("mybucket", "myobject", 60 * 60 * 24);
10601060
System.out.println(url);
10611061
} catch(MinioException e) {
1062-
System.out.println("Error occured: " + e);
1062+
System.out.println("Error occurred: " + e);
10631063
}
10641064

10651065
```
@@ -1107,7 +1107,7 @@ try {
11071107
}
11081108
System.out.println(" -F file=@/tmp/userpic.png https://play.minio.io:9000/mybucket");
11091109
} catch(MinioException e) {
1110-
System.out.println("Error occured: " + e);
1110+
System.out.println("Error occurred: " + e);
11111111

11121112
```
11131113

examples/BucketExists.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static void main(String[] args)
4040
System.out.println("my-bucketname does not exist");
4141
}
4242
} catch (MinioException e) {
43-
System.out.println("Error occured: " + e);
43+
System.out.println("Error occurred: " + e);
4444
}
4545
}
4646
}

examples/DownloadObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static void main(String[] args)
4242
minioClient.getObject("my-bucketname", "my-objectname", "my-filename");
4343
System.out.println("my-objectname is successfully downloaded to my-filename");
4444
} catch (MinioException e) {
45-
System.out.println("Error occured: " + e);
45+
System.out.println("Error occurred: " + e);
4646
}
4747
}
4848
}

examples/GetBucketPolicy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static void main(String[] args)
3636
BucketPolicy policy = minioClient.getBucketPolicy("my-bucketname", "downloads");
3737
System.out.println("Current policy: " + policy.toString());
3838
} catch (MinioException e) {
39-
System.out.println("Error occured: " + e);
39+
System.out.println("Error occurred: " + e);
4040
}
4141
}
4242
}

examples/GetObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static void main(String[] args)
5151
// Close the input stream.
5252
stream.close();
5353
} catch (MinioException e) {
54-
System.out.println("Error occured: " + e);
54+
System.out.println("Error occurred: " + e);
5555
}
5656
}
5757
}

examples/GetPartialObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static void main(String[] args)
5252
// Close the input stream.
5353
stream.close();
5454
} catch (MinioException e) {
55-
System.out.println("Error occured: " + e);
55+
System.out.println("Error occurred: " + e);
5656
}
5757
}
5858
}

examples/ListBuckets.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static void main(String[] args)
4040
System.out.println(bucket.creationDate() + ", " + bucket.name());
4141
}
4242
} catch (MinioException e) {
43-
System.out.println("Error occured: " + e);
43+
System.out.println("Error occurred: " + e);
4444
}
4545
}
4646
}

examples/ListIncompleteUploads.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static void main(String[] args)
4747
System.out.println("my-bucketname does not exist");
4848
}
4949
} catch (MinioException e) {
50-
System.out.println("Error occured: " + e);
50+
System.out.println("Error occurred: " + e);
5151
}
5252
}
5353
}

examples/ListObjects.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static void main(String[] args)
4747
System.out.println("my-bucketname does not exist");
4848
}
4949
} catch (MinioException e) {
50-
System.out.println("Error occured: " + e);
50+
System.out.println("Error occurred: " + e);
5151
}
5252
}
5353
}

0 commit comments

Comments
 (0)