Skip to content

Commit de3407c

Browse files
committed
Fix warnings and a bunch of grammar issues
1 parent 3741ce4 commit de3407c

57 files changed

Lines changed: 255 additions & 246 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/aac/aacFileSettings.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ export default class AacFileSettings {
3737
}
3838

3939
/**
40-
* Gets whether or not *new* APE tags should be stored at the end of the file. If `true` new
40+
* Gets whether *new* APE tags should be stored at the end of the file. If `true` new
4141
* APE tags will be stored at the end of the file. If `false` new APE tags will be stored at
4242
* the beginning of the file (not recommended). Note, this only affects *new* APE tags.
4343
* Existing APE tags will not be moved unless removed and re-added.
4444
* @default `true`
4545
*/
4646
public static get preferApeTagAtFileEnd(): boolean { return this._preferApeTagAtFileEnd; }
4747
/**
48-
* Gets whether or not *new* APE tags should be stored at the end of the file. If `true` new
48+
* Gets whether *new* APE tags should be stored at the end of the file. If `true` new
4949
* APE tags will be stored at the end of the file. If `false` new APE tags will be stored at
5050
* the beginning of the file (not recommended). Note, this only affects *new* APE tags.
5151
* Existing APE tags will not be moved unless removed and re-added.
@@ -54,7 +54,7 @@ export default class AacFileSettings {
5454
public static set preferApeTagAtFileEnd(value: boolean) { this._preferApeTagAtFileEnd = value; }
5555

5656
/**
57-
* Gets whether or not *new* ID3v2 tags should be stored at the end of the file. If `true` new
57+
* Gets whether *new* ID3v2 tags should be stored at the end of the file. If `true` new
5858
* ID3v2 tags will be stored at the end of the file. If `false` new ID3v2 tags will be stored
5959
* at the beginning of the file. Note, this only affects *new* ID3v2 tags. Existing ID3v2 tags
6060
* will not be moved unless removed and re-added.
@@ -66,7 +66,7 @@ export default class AacFileSettings {
6666
*/
6767
public static get preferId3v2TagAtFileEnd(): boolean { return this._preferId3v2TagAtFileEnd; }
6868
/**
69-
* Sets whether or not *new* ID3v2 tags should be stored at the end of the file. If `true` new
69+
* Sets whether *new* ID3v2 tags should be stored at the end of the file. If `true` new
7070
* ID3v2 tags will be stored at the end of the file. If `false` new ID3v2 tags will be stored
7171
* at the beginning of the file. Note, this only affects *new* ID3v2 tags. Existing ID3v2 tags
7272
* will not be moved unless removed and re-added.

src/ape/apeFileSettings.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ export default class ApeFileSettings {
3737
}
3838

3939
/**
40-
* Gets whether or not *new* APE tags should be stored at the end of the file. If `true` new
40+
* Gets whether *new* APE tags should be stored at the end of the file. If `true` new
4141
* APE tags will be stored at the end of the file. If `false` new APE tags will be stored at
4242
* the beginning of the file (not recommended). Note, this only affects *new* APE tags.
4343
* Existing APE tags will not be moved unless removed and re-added.
4444
* @default `true`
4545
*/
4646
public static get preferApeTagAtFileEnd(): boolean { return this._preferApeTagAtFileEnd; }
4747
/**
48-
* Gets whether or not *new* APE tags should be stored at the end of the file. If `true` new
48+
* Gets whether *new* APE tags should be stored at the end of the file. If `true` new
4949
* APE tags will be stored at the end of the file. If `false` new APE tags will be stored at
5050
* the beginning of the file (not recommended). Note, this only affects *new* APE tags.
5151
* Existing APE tags will not be moved unless removed and re-added.
@@ -54,7 +54,7 @@ export default class ApeFileSettings {
5454
public static set preferApeTagAtFileEnd(value: boolean) { this._preferApeTagAtFileEnd = value; }
5555

5656
/**
57-
* Gets whether or not *new* ID3v2 tags should be stored at the end of the file. If `true` new
57+
* Gets whether *new* ID3v2 tags should be stored at the end of the file. If `true` new
5858
* ID3v2 tags will be stored at the end of the file. If `false` new ID3v2 tags will be stored
5959
* at the beginning of the file. Note, this only affects *new* ID3v2 tags. Existing ID3v2 tags
6060
* will not be moved unless removed and re-added.
@@ -66,7 +66,7 @@ export default class ApeFileSettings {
6666
*/
6767
public static get preferId3v2TagAtFileEnd(): boolean { return this._preferId3v2TagAtFileEnd; }
6868
/**
69-
* Sets whether or not *new* ID3v2 tags should be stored at the end of the file. If `true` new
69+
* Sets whether *new* ID3v2 tags should be stored at the end of the file. If `true` new
7070
* ID3v2 tags will be stored at the end of the file. If `false` new ID3v2 tags will be stored
7171
* at the beginning of the file. Note, this only affects *new* ID3v2 tags. Existing ID3v2 tags
7272
* will not be moved unless removed and re-added.

src/ape/apeTag.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ export default class ApeTag extends Tag {
127127
// #region Ape Tag Properties
128128

129129
/**
130-
* Gets whether or not the current instance has a header when rendered.
130+
* Gets whether the current instance has a header when rendered.
131131
*/
132132
public get isHeaderPresent(): boolean {
133133
return !!this._footer && NumberUtils.hasFlag(this._footer.flags, ApeTagFooterFlags.HeaderPresent);
134134
}
135135
/**
136-
* Sets whether or not the current instance has a header when rendered.
136+
* Sets whether the current instance has a header when rendered.
137137
*/
138138
public set isHeaderPresent(value: boolean) {
139139
if (value) {

src/ape/apeTagItem.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export class ApeTagItem {
123123
// #region Properties
124124

125125
/**
126-
* Gets whether or not the current instance is empty.
126+
* Gets whether the current instance is empty.
127127
*/
128128
public get isEmpty(): boolean {
129129
if (this._type === ApeTagItemType.Binary) {
@@ -134,7 +134,7 @@ export class ApeTagItem {
134134
}
135135

136136
/**
137-
* Gets whether or not the current instance is flagged as read-only on disk.
137+
* Gets whether the current instance is flagged as read-only on disk.
138138
*/
139139
public get isReadOnly(): boolean { return this._isReadonly; }
140140

src/asf/asfTag.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ export default class AsfTag extends Tag {
755755
/**
756756
* @inheritDoc
757757
* @remarks
758-
* Stored in the the `WM/Picture` content descriptor and description record.
758+
* Stored in the `WM/Picture` content descriptor and description record.
759759
* https://docs.microsoft.com/en-us/windows/win32/wmformat/wmpicture
760760
* Modifications to the returned array will not be stored.
761761
*/

src/asf/objects/contentDescriptionObject.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ export default class ContentDescriptionObject extends BaseObject {
9999
public set description(value: string) { this._description = value ?? ""; }
100100

101101
/**
102-
* Gets whether or not the current instance is empty.
103-
* @returns `true` if all the values are cleared. Otherwise `false` is returned.
102+
* Gets whether the current instance is empty.
103+
* @returns `true` if all the values are cleared. Otherwise, `false` is returned.
104104
*/
105105
public get isEmpty(): boolean {
106106
return !this._title

src/asf/objects/descriptorBase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export enum DataType {
2828
DWord = 3,
2929

3030
/**
31-
* The descriptor contains a 8-byte QWORD value.
31+
* The descriptor contains an 8-byte QWORD value.
3232
*/
3333
QWord = 4,
3434

src/asf/objects/extendedContentDescriptionObject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export class ExtendedContentDescriptionObject extends BaseObject {
167167
public get descriptors(): ContentDescriptor[] { return this._descriptors; }
168168

169169
/**
170-
* Gets whether or not the current instance contains any records.
170+
* Gets whether the current instance contains any records.
171171
* @returns
172172
* `true` if the current instance does not contain any records, `false`
173173
* otherwise.

src/asf/objects/headerObject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default class HeaderObject extends BaseObject {
8080
}
8181

8282
/**
83-
* Gets whether or not the current instance contains either type of content descriptors.
83+
* Gets whether the current instance contains either type of content descriptors.
8484
* @returns
8585
* `true` if a content description object or extended content description
8686
* object exists in this instance. `false` otherwise

0 commit comments

Comments
 (0)