Formatted code
This commit is contained in:
@@ -238,7 +238,6 @@ public final class CompassService
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private class CMDirectionRequest implements Runnable
|
||||
{
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ public final class VersionChecker implements Runnable
|
||||
/**
|
||||
* checks if enough time since last check has expired
|
||||
*
|
||||
* @param nowInMs now in milli seconds
|
||||
* @param nowInMs now in milli seconds
|
||||
* @param lastAfterInterval last version check including the interval defined in the config
|
||||
*/
|
||||
private void processInterval( final long nowInMs, final long lastAfterInterval )
|
||||
@@ -136,7 +136,7 @@ public final class VersionChecker implements Runnable
|
||||
* Checks if the retrieved version is newer as the current mod version.
|
||||
* Will notify player if config is enabled.
|
||||
*
|
||||
* @param modVersion version of mod
|
||||
* @param modVersion version of mod
|
||||
* @param githubRelease release retrieved through github
|
||||
*/
|
||||
private void processVersions( @Nonnull final Version modVersion, @Nonnull final FormattedRelease githubRelease )
|
||||
@@ -171,8 +171,8 @@ public final class VersionChecker implements Runnable
|
||||
* Checks if the version checker mod is installed and handles it depending on that information
|
||||
*
|
||||
* @param modFormatted mod version formatted as rv2-beta-8
|
||||
* @param ghFormatted retrieved github version formatted as rv2-beta-8
|
||||
* @param changelog retrieved github changelog
|
||||
* @param ghFormatted retrieved github version formatted as rv2-beta-8
|
||||
* @param changelog retrieved github changelog
|
||||
*/
|
||||
private void interactWithVersionCheckerMod( @Nonnull final String modFormatted, @Nonnull final String ghFormatted, @Nonnull final String changelog )
|
||||
{
|
||||
|
||||
@@ -26,9 +26,9 @@ public interface ICompassCallback
|
||||
* Called from another thread.
|
||||
*
|
||||
* @param hasResult true if found a target
|
||||
* @param spin true if should spin
|
||||
* @param radians radians
|
||||
* @param dist distance
|
||||
* @param spin true if should spin
|
||||
* @param radians radians
|
||||
* @param dist distance
|
||||
*/
|
||||
void calculatedDirection( boolean hasResult, boolean spin, double radians, double dist );
|
||||
}
|
||||
|
||||
@@ -67,7 +67,8 @@ public final class ForgeExportConfig implements ExportConfig
|
||||
private final Configuration config;
|
||||
|
||||
/**
|
||||
* Constructor using the configuration. Apparently there are some race conditions if constructing configurations on multiple file accesses
|
||||
* Constructor using the configuration. Apparently there are some race conditions if constructing configurations on
|
||||
* multiple file accesses
|
||||
*
|
||||
* @param config to be wrapped configuration.
|
||||
*/
|
||||
|
||||
@@ -55,10 +55,12 @@ final class ModListChecker implements Checker<List<ModContainer>>
|
||||
}
|
||||
|
||||
/**
|
||||
* Compiles a list of all mods and their versions to a digest which is updated, if it differs from the config. This is used to elevate the need to export
|
||||
* Compiles a list of all mods and their versions to a digest which is updated, if it differs from the config. This
|
||||
* is used to elevate the need to export
|
||||
* the csv once again, if no change was detected.
|
||||
*
|
||||
* @param modContainers all mods and their versions to check if a difference exists between the current instance and the previous instance
|
||||
* @param modContainers all mods and their versions to check if a difference exists between the current instance and
|
||||
* the previous instance
|
||||
*
|
||||
* @return CheckType.EQUAL if no change was detected
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user