Skip to content

Commit e032991

Browse files
authored
chore: fix typos (#2347)
1 parent 872905b commit e032991

File tree

9 files changed

+23
-23
lines changed

9 files changed

+23
-23
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -686,14 +686,14 @@ _8.6.0_
686686

687687
*6.0.0-BETA1*
688688
- **[ENHANCEMENT]** **[REFACTOR]** **[BREAKING CHANGE]** **[MAJOR CHANGE]** Improvements of the TouchActions API [#756](https://github.com/appium/java-client/pull/756), [#760](https://github.com/appium/java-client/pull/760):
689-
- `io.appium.java_client.touch.ActionOptions` and sublasses were added
689+
- `io.appium.java_client.touch.ActionOptions` and subclasses were added
690690
- old methods of the `TouchActions` were marked `@Deprecated`
691691
- new methods which take new options.
692-
- **[ENHANCEMENT]**. Appium drivr local service uses default process environment by default. [#753](https://github.com/appium/java-client/pull/753)
692+
- **[ENHANCEMENT]**. Appium driver local service uses default process environment by default. [#753](https://github.com/appium/java-client/pull/753)
693693
- **[BUG FIX]**. Removed 'set' prefix from waitForIdleTimeout setting. [#754](https://github.com/appium/java-client/pull/754)
694694
- **[BUG FIX]**. The asking for session details was optimized. Issue report [764](https://github.com/appium/java-client/issues/764).
695695
FIX [#769](https://github.com/appium/java-client/pull/769)
696-
- **[BUG FIX]** **[REFACTOR]**. Inconcistent MissingParameterException was removed. Improvements of MultiTouchAction. Report: [#102](https://github.com/appium/java-client/issues/102). FIX [#772](https://github.com/appium/java-client/pull/772)
696+
- **[BUG FIX]** **[REFACTOR]**. Inconsistent MissingParameterException was removed. Improvements of MultiTouchAction. Report: [#102](https://github.com/appium/java-client/issues/102). FIX [#772](https://github.com/appium/java-client/pull/772)
697697
- **[DEPENDENCY UPDATES]**
698698
- `org.apache.commons:commons-lang3` was updated to 3.7
699699
- `commons-io:commons-io` was updated to 2.6

docs/Advanced-By.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ XCUIElementTypeCell[$label == 'here'$]
4848
#### Handling Quote Marks
4949

5050
Most of the time, you can treat pairs of single quotes or double quotes
51-
interchangably. If you're searching with a string that contains quote marks,
51+
interchangeably. If you're searching with a string that contains quote marks,
5252
though, you [need to be careful](https://stackoverflow.com/q/14116217).
5353

5454
```c

docs/How-to-report-an-issue.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Be sure that it is not a server-side problem if you are facing something that looks like a bug
22

3-
The Appium Java client is the thin client which just sends requests and receives responces generally.
3+
The Appium Java client is the thin client which just sends requests and receives responses generally.
44
Be sure that this bug is not reported [here](https://github.com/appium/appium/issues) and/or there is
55
no progress on this issue.
66

@@ -13,8 +13,8 @@ If it is the feature request then there should be the description of this featur
1313

1414
### Environment (bug report)
1515

16-
* java client build version or git revision if you use some shapshot:
17-
* Appium server version or git revision if you use some shapshot:
16+
* java client build version or git revision if you use some snapshot:
17+
* Appium server version or git revision if you use some snapshot:
1818
* Desktop OS/version used to run Appium if necessary:
1919
* Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe:
2020
* Mobile platform/version under test:
@@ -32,7 +32,7 @@ You can git clone https://github.com/appium/appium/tree/master/sample-code or ht
3232
Also you can create a [gist](https://gist.github.com) with pasted java code sample or paste it at ussue description using markdown. About markdown please read [Mastering markdown](https://guides.github.com/features/mastering-markdown/) and
3333
[Writing on GitHub](https://help.github.com/categories/writing-on-github/)
3434

35-
### Ecxeption stacktraces (bug report)
35+
### Exception stacktraces (bug report)
3636

3737
There should be created a [gist](https://gist.github.com) with pasted stacktrace of exception thrown by java.
3838

docs/Page-objects.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ WebElement someElement;
1616
List<WebElement> someElements;
1717
```
1818

19-
# If there is need to use convinient locators for mobile native applications then the following is available:
19+
# If there is need to use convenient locators for mobile native applications then the following is available:
2020

2121
```java
2222
import io.appium.java_client.android.AndroidElement;
@@ -324,13 +324,13 @@ A typical page object could look like:
324324

325325
```java
326326
public class RottenTomatoesScreen {
327-
//convinient locator
327+
//convenient locator
328328
private List<AndroidElement> titles;
329329

330-
//convinient locator
330+
//convenient locator
331331
private List<AndroidElement> scores;
332332

333-
//convinient locator
333+
//convenient locator
334334
private List<AndroidElement> castings;
335335
//element declaration goes on
336336

@@ -371,13 +371,13 @@ public class Movie extends Widget{
371371
super(element);
372372
}
373373

374-
//convinient locator
374+
//convenient locator
375375
private AndroidElement title;
376376

377-
//convinient locator
377+
//convenient locator
378378
private AndroidElement score;
379379

380-
//convinient locator
380+
//convenient locator
381381
private AndroidElement casting;
382382

383383
public String getTitle(params){
@@ -404,7 +404,7 @@ So, now page object looks
404404
```java
405405
public class RottenTomatoesScreen {
406406

407-
@AndroidFindBy(a locator which convinient to find a single movie-root - element)
407+
@AndroidFindBy(a locator which convenient to find a single movie-root - element)
408408
private List<Movie> movies;
409409

410410
//element declaration goes on
@@ -427,7 +427,7 @@ public class RottenTomatoesScreen {
427427
Then
428428
```java
429429
//the class is annotated !!!
430-
@AndroidFindBy(a locator which convinient to find a single movie-root - element)
430+
@AndroidFindBy(a locator which convenient to find a single movie-root - element)
431431
public class Movie extends Widget{
432432
...
433433
}
@@ -658,7 +658,7 @@ This use case has some restrictions;
658658

659659
- All classes which are declared by the OverrideWidget annotation should be subclasses of the class declared by field
660660

661-
- All classes which are declared by the OverrideWidget should not be abstract. If a declared class is overriden partially like
661+
- All classes which are declared by the OverrideWidget should not be abstract. If a declared class is overridden partially like
662662

663663
```java
664664
//above is the other field declaration

docs/environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ Remember to reload the config after it has been changed by restarting the comman
3232
Also, it is possible to set variables on [per-process](https://stackoverflow.com/questions/10856129/setting-an-environment-variable-before-a-command-in-bash-not-working-for-second) basis.
3333
This might be handy if Appium is set up to start automatically with the operating system, because on early stages of system initialization it is possible that the "usual" environment has not been loaded yet.
3434

35-
In case the Appium process is started programatically, for example with java client's `AppiumDriverLocalService` helper class, then it might be necessary to setup the environment [in the client code](https://github.com/appium/java-client/pull/753), because prior to version 6.0 the client does not inherit it from the parent process by default.
35+
In case the Appium process is started programmatically, for example with java client's `AppiumDriverLocalService` helper class, then it might be necessary to setup the environment [in the client code](https://github.com/appium/java-client/pull/753), because prior to version 6.0 the client does not inherit it from the parent process by default.

src/main/java/io/appium/java_client/AppiumCommandInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class AppiumCommandInfo extends CommandInfo {
2626
@Getter(AccessLevel.PUBLIC) private final HttpMethod method;
2727

2828
/**
29-
* It conntains method and URL of the command.
29+
* It contains method and URL of the command.
3030
*
3131
* @param url command URL
3232
* @param method is http-method

src/main/java/io/appium/java_client/android/nativekey/AndroidKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ public enum AndroidKey {
10941094
TV_SATELLITE_SERVICE(240),
10951095
/**
10961096
* Key code constant: Toggle Network key.
1097-
* Toggles selecting broacast services.
1097+
* Toggles selecting broadcast services.
10981098
*/
10991099
TV_NETWORK(241),
11001100
/**

src/main/java/io/appium/java_client/android/options/adb/SupportsLogcatFilterSpecsOption.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public interface SupportsLogcatFilterSpecsOption<T extends BaseOptions<T>> exten
3333
* @param format The filter specifier. Consists from series of `tag[:priority]` items,
3434
* where `tag` is a log component tag (or `*` to match any value)
3535
* and `priority`: V (Verbose), D (Debug), I (Info), W (Warn), E (Error), F (Fatal),
36-
* S (Silent - supresses all output). `tag` without `priority` defaults to `tag:v`.
36+
* S (Silent - suppresses all output). `tag` without `priority` defaults to `tag:v`.
3737
* If not specified, filterspec is set from ANDROID_LOG_TAGS environment variable.
3838
* If no filterspec is found, filter defaults to `*:I`, which means
3939
* to only show log lines with any tag and the log level INFO or higher.

src/main/java/io/appium/java_client/imagecomparison/ComparisonResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protected Map<String, Object> getResultAsMap() {
4242
}
4343

4444
/**
45-
* Verifies if the corresponding property is present in the commend result
45+
* Verifies if the corresponding property is present in the command result
4646
* and throws an exception if not.
4747
*
4848
* @param propertyName the actual property name to be verified for presence

0 commit comments

Comments
 (0)