Skip to content

Commit 0c9bba8

Browse files
bactgoneall
authored andcommitted
Fix minor typos in docs
Signed-off-by: Arthit Suriyawongkul <[email protected]>
1 parent e426a46 commit 0c9bba8

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

GETTING-STARTED.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you are using Maven, you can add the following dependency in your POM file:
1919
## Using the library for license analysis
2020

2121
The static class `org.spdx.library.model.license.LicenseInfoFactory` supports the parsing of
22-
SPDX license expressions, creation, and comparison of SPDX licenses.
22+
SPDX license expressions, creation, and comparison of SPDX licenses.
2323

2424
The `LicenseInfoFactory` will initialize the library and work with both the SPDX spec version 3
2525
and the SPDX spec version 2 license models. SPDX spec version to methods end in `CompatV2`.
@@ -41,7 +41,7 @@ InMemSpdxStore modelStore = new InMemSpdxStore();
4141
IModelCopyManager copyManager = new ModelCopyManager();
4242
```
4343

44-
Many factory and helper methods in the library make use of a DefaultModelStore
44+
Many factory and helper methods in the library make use of a DefaultModelStore
4545
if no model store or copy manager is specified.
4646

4747
The `SpdxModelFactory.init()` will create defaults for this purpose.
@@ -55,7 +55,7 @@ DefaultModelStore.initialize(IModelStore newModelStore, String newDefaultDocumen
5555

5656
The `newDefaultDocumentUri` is a default document URI used for SPDX Spec version 2 model objects.
5757

58-
IMPORTANT NOTE: The call to `DefaultModelStore.initialize` must be made prior to or immediately after the call
58+
IMPORTANT NOTE: The call to `DefaultModelStore.initialize` must be made prior to or immediately after the call
5959
to `SpdxModelFactory.init()`. Otherwise, any data stored in the previous default model object will be lost.
6060
The `SpdxModelFactory.init()` will not overwrite an already initialized default model store.
6161

@@ -121,10 +121,10 @@ The model store, creation info, copy manager, and prefix information will all be
121121

122122
### Programmatically Creating SPDX Data
123123

124-
SPDX Spec version 2 stores all date within an SPDX document. SPDX documents have a single document URI which is a
125-
prefix for all IDs within the document.
124+
SPDX Spec version 2 stores all data within an SPDX document.
125+
SPDX documents have a single document URI which is a prefix for all IDs within the document.
126126

127-
The SPDX document MUST be unique.
127+
The SPDX document URI MUST be unique.
128128

129129
Below is an example:
130130

@@ -171,4 +171,4 @@ We now need to add the required fields to make this a valid SPDX document:
171171
```
172172

173173
Similar to SPDX spec version 3, the create methods in the SPDX spec version 2 objects will copy the
174-
model store, copy manager, and document uri to the newly created objects.
174+
model store, copy manager, and document uri to the newly created objects.

README-SPI-MODEL-STORE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ These methods should be used to avoid common errors when converting between supp
2020

2121
## Using the Serialization interfaces
2222

23-
Note: You can extend the default org.spdx.storage.simple.InMemSpdxStore with a couple of serialization / de-serialization methods to implement a storage interface to a serializeable format (such as a JSON or YAML file).
23+
Note: You can extend the default org.spdx.storage.simple.InMemSpdxStore with a couple of serialization / de-serialization methods to implement a storage interface to a serializable format (such as a JSON or YAML file).
2424

2525
## Handling Collections of Values
2626

README-V3-UPGRADE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ SPDX 3.0.1 model objects can be found in packages underneath `org.spdx.library.m
6060

6161
## Changes to ExternalElement and ExternalExtractedLicenseInfo (SPDX Version 2.X classes)
6262

63-
- Constructors changed to take the document URI for the document containing the external element or license. This is different from the previous constructor which took the document URI of the document containing the reference and an ID of the form `DocumentRef-XX:[ID]` To accomodate compatibility, the constructors
63+
- Constructors changed to take the document URI for the document containing the external element or license. This is different from the previous constructor which took the document URI of the document containing the reference and an ID of the form `DocumentRef-XX:[ID]` To accommodate compatibility, the constructors
6464
will check for the old DocumentRef format and attempt a conversion.
6565
- Added a method `referenceElementId(SpdxDocument documentReferencingExternal)` which will convert return the `DocumentRef-XX:[ID]`. This should be used in place of the getId which previously returned this format.
6666

0 commit comments

Comments
 (0)