Skip to content

Commit 9268ea5

Browse files
committed
Typo / grammar fixes
1 parent 97b8aff commit 9268ea5

24 files changed

+39
-36
lines changed

src/main/java/fr/flowarg/flowupdater/FlowUpdater.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public class FlowUpdater
5656
/** Represent some settings for FlowUpdater */
5757
private final UpdaterOptions updaterOptions;
5858

59-
/** Represent a list of ExternalFile. External files are download before post executions.*/
59+
/** Represent a list of ExternalFile. External files are downloaded before post-executions.*/
6060
private final List<ExternalFile> externalFiles;
6161

62-
/** Represent a list of Runnable. Post Executions are called after update. */
62+
/** Represent a list of Runnable. Post-Executions are called after update. */
6363
private final List<Runnable> postExecutions;
6464

6565
/** The integration manager object */
@@ -87,7 +87,7 @@ public void init(@NotNull ILogger logger)
8787
* automatically assigned to {@link FlowUpdater#NULL_CALLBACK}.
8888
* @param externalFiles {@link List<ExternalFile>} are downloaded before postExecutions.
8989
* @param postExecutions {@link List<Runnable>} are called after update.
90-
* @param modLoaderVersion {@link IModLoaderVersion} to install, can be null.
90+
* @param modLoaderVersion {@link IModLoaderVersion} to install can be null.
9191
*/
9292
private FlowUpdater(VanillaVersion vanillaVersion, ILogger logger,
9393
UpdaterOptions updaterOptions, IProgressCallback callback,
@@ -382,7 +382,7 @@ public FlowUpdaterBuilder withPostExecutions(Runnable... postExecutions)
382382
}
383383

384384
/**
385-
* Necessary if you want to install a mod loader like Forge or Fabric for instance.
385+
* Necessary if you want to install a mod loader like Forge or Fabric, for instance.
386386
* Append a {@link IModLoaderVersion} object in the final FlowUpdater instance.
387387
* @param modLoaderVersion the {@link IModLoaderVersion} to append and install.
388388
* @return the builder.
@@ -461,8 +461,8 @@ public List<ExternalFile> getExternalFiles()
461461
}
462462

463463
/**
464-
* Get the list of post executions.
465-
* @return all post executions
464+
* Get the list of post-executions.
465+
* @return all post-executions
466466
*/
467467
public List<Runnable> getPostExecutions()
468468
{

src/main/java/fr/flowarg/flowupdater/download/DownloadList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class DownloadList
3030
private boolean init = false;
3131

3232
/**
33-
* This method initialize fields.
33+
* This method initializes fields.
3434
*/
3535
public void init()
3636
{

src/main/java/fr/flowarg/flowupdater/download/VanillaReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private void silentDebug(String message)
5050
}
5151

5252
/**
53-
* This method calls others methods to parse each part of the given Minecraft Version.
53+
* This method calls other methods to parse each part of the given Minecraft Version.
5454
* @throws IOException if an I/O error occurred.
5555
*/
5656
public void read() throws IOException

src/main/java/fr/flowarg/flowupdater/download/json/AssetDownloadable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package fr.flowarg.flowupdater.download.json;
22

33
/**
4-
* This class represent an asset.
4+
* This class represents an asset.
55
*/
66
public class AssetDownloadable
77
{

src/main/java/fr/flowarg/flowupdater/download/json/AssetIndex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.util.Map;
66

77
/**
8-
* This class represent an asset index of a Minecraft version.
8+
* This class represents an asset index of a Minecraft version.
99
*/
1010
public class AssetIndex
1111
{

src/main/java/fr/flowarg/flowupdater/download/json/CurseFileInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import java.util.Objects;
1313

1414
/**
15-
* This class represent a file in the CurseForge API.
15+
* This class represents a file in the CurseForge API.
1616
*/
1717
public class CurseFileInfo
1818
{

src/main/java/fr/flowarg/flowupdater/download/json/CurseModPackInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package fr.flowarg.flowupdater.download.json;
22

33
/**
4-
* This class represent a mod pack file in the CurseForge API.
4+
* This class represents a mod pack file in the CurseForge API.
55
*/
66
public class CurseModPackInfo extends CurseFileInfo
77
{

src/main/java/fr/flowarg/flowupdater/download/json/Downloadable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import java.util.Objects;
44

55
/**
6-
* This class represent a classic downloadable file such as a library, the client/server or natives.
6+
* This class represents a classic downloadable file such as a library, the client/server or natives.
77
*/
88
public class Downloadable
99
{

src/main/java/fr/flowarg/flowupdater/download/json/ExternalFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import java.util.List;
1212

1313
/**
14-
* This class represent an external file object.
14+
* This class represents an external file object.
1515
*/
1616
public class ExternalFile
1717
{

src/main/java/fr/flowarg/flowupdater/download/json/MCP.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import java.net.URL;
1010

1111
/**
12-
* This class represent an MCP object.
12+
* This class represents an MCP object.
1313
*/
1414
public class MCP
1515
{

0 commit comments

Comments
 (0)