Skip to content

Commit 4f4bfbf

Browse files
committed
Some more typo's
1 parent 290471f commit 4f4bfbf

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/main/java/org/aarboard/nextcloud/api/NextcloudConnector.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public void shutdown() throws IOException {
192192
* Trust all HTTPS certificates presented by the server. This is e.g. used
193193
* to work against a Nextcloud instance with a self-signed certificate.
194194
*
195-
* @param trustAllCertificates Do we accep self signed certificates or not
195+
* @param trustAllCertificates Do we accept self-signed certificates or not
196196
*/
197197
public void trustAllCertificates(boolean trustAllCertificates) {
198198
this.serverConfig.setTrustAllCertificates(trustAllCertificates);
@@ -662,7 +662,7 @@ public CompletableFuture<UserDetailsAnswer> getUserAsync(String userId) {
662662
}
663663

664664
/**
665-
* Gets user details of currently logged in user
665+
* Gets user details of currently logged-in user
666666
*
667667
* @return all user details
668668
*/
@@ -1136,7 +1136,7 @@ public CompletableFuture<XMLAnswer> editShareAsync(int shareId, Map<ShareData, S
11361136
* nextcloud server
11371137
* @param downloadpath Local path where the file has to be downloaded in the
11381138
* local machine
1139-
* @return boolean true if sucessfull
1139+
* @return boolean true if successful
11401140
* @throws java.io.IOException In case of IO errors
11411141
*/
11421142
public boolean downloadFile(String remotepath, String downloadpath) throws IOException {
@@ -1219,7 +1219,7 @@ public String getAppConfigAppKeyValue(String appConfigAppKeyPath) {
12191219
* @param appConfigAppKey a key name as returned by
12201220
* {@link #getAppConfigAppKeys(String)}
12211221
* @param value the value to set
1222-
* @return true if sucessfully set
1222+
* @return true if successfully set
12231223
*/
12241224
public boolean setAppConfigAppKeyValue(String appConfigApp, String appConfigAppKey, Object value) {
12251225
return cc.setAppConfigAppKeyValue(appConfigApp, appConfigAppKey, value);
@@ -1230,7 +1230,7 @@ public boolean setAppConfigAppKeyValue(String appConfigApp, String appConfigAppK
12301230
* @param appConfigAppKeyPath the full appConfigAppKeyPath combining
12311231
* appConfigApp and appConfigAppKey with "/"
12321232
* @param value the value to set
1233-
* @return Operation sucessfull
1233+
* @return Operation successful
12341234
*/
12351235
public boolean setAppConfigAppKeyValue(String appConfigAppKeyPath, Object value) {
12361236
return cc.setAppConfigAppKeyValue(appConfigAppKeyPath, value);
@@ -1243,7 +1243,7 @@ public boolean setAppConfigAppKeyValue(String appConfigAppKeyPath, Object value)
12431243
* {@link #getAppConfigApps()}
12441244
* @param appConfigAppkey a key name as returned by
12451245
* {@link #getAppConfigAppKeys(String)}
1246-
* @return Operation sucessfull
1246+
* @return Operation successful
12471247
*/
12481248
public boolean deleteAppConfigAppKeyEntry(String appConfigApp, String appConfigAppkey) {
12491249
return cc.deleteAppConfigAppKeyEntry(appConfigApp, appConfigAppkey);

src/main/java/org/aarboard/nextcloud/api/webdav/pathresolver/NextcloudVersion.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public class NextcloudVersion
7171
* major.minor.path(.revision) E.g. 20.4.0.0 or 14.1.3
7272
*
7373
* @param value of NextCloudInstance
74-
* @return a versionbn instance
74+
* @return a version instance
7575
* @since 11.5
7676
*/
7777
public static NextcloudVersion get(final String value)
@@ -103,7 +103,7 @@ public String getWebdavBasePath()
103103

104104
/**
105105
*
106-
* @return true if usernae shall appendend to path, false otherwise
106+
* @return true if username shall be appended to path, false otherwise
107107
*/
108108
public boolean isAppendUserName()
109109
{
@@ -112,7 +112,7 @@ public boolean isAppendUserName()
112112

113113
/**
114114
*
115-
* @return true if appendSuffix shall appendend to path, false otherwise
115+
* @return true if appendSuffix shall be appended to path, false otherwise
116116
*/
117117
public boolean isAppendSuffix()
118118
{

0 commit comments

Comments
 (0)