Skip to content

Commit 6b660ab

Browse files
committed
Fix a couple typos in the comments
1 parent 6cd3394 commit 6b660ab

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

splunk/com/splunk/SavedSearch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ public void setAlertSuppress(boolean suppress) {
18291829

18301830
/**
18311831
* Specifies a list of fields to use for alert suppression. This attribute
1832-
* is required when alert supression and per-result alerting are enabled.
1832+
* is required when alert suppression and per-result alerting are enabled.
18331833
* @see #setAlertSuppress
18341834
* @see #isDigestMode
18351835
*

splunk/com/splunk/Service.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ public ResponseMessage parse(String query, Map args) {
12431243

12441244
/**
12451245
* Restarts the service. The service will be unavailable until it has
1246-
* sucessfully restarted.
1246+
* successfully restarted.
12471247
*
12481248
* @return The restart response message.
12491249
*/

splunk/com/splunk/SimpleCookieStore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void add(String setCookieHeader) {
4646
/**
4747
* Returns a string to be set as a "Cookie" header
4848
*
49-
* @return Cookie String in the format "Key=Value; Key=Value; ect"
49+
* @return Cookie String in the format "Key=Value; Key=Value; etc"
5050
*/
5151
public String getCookies() {
5252
StringBuilder cookieStringBuilder = new StringBuilder();

tests/com/splunk/IndexTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ public void testUploadArgsFailure() throws Exception{
680680
// The index argument cannot be passed into the upload function.
681681
try{
682682
index.upload(fileToUpload, args);
683-
Assert.fail("Uploading to an index with an index argument? No need for redundency!");
683+
Assert.fail("Uploading to an index with an index argument? No need for redundancy!");
684684
}
685685
catch(Exception e){
686686
Assert.assertEquals(e.getMessage(), "The 'index' parameter cannot be passed to an index's oneshot upload.");

0 commit comments

Comments
 (0)